Interface SegmentPropsBase

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
CmafSegmentProps, IsmSegmentProps, TsSegmentProps
All Known Implementing Classes:
CmafSegmentProps.Jsii$Proxy, IsmSegmentProps.Jsii$Proxy, SegmentPropsBase.Jsii$Proxy, TsSegmentProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-04-02T09:32:03.747Z") @Stability(Experimental) public interface SegmentPropsBase extends software.amazon.jsii.JsiiSerializable
(experimental) Base properties common to all segment configurations.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.mediapackagev2.alpha.*;
 import software.amazon.awscdk.*;
 SegmentPropsBase segmentPropsBase = SegmentPropsBase.builder()
         .duration(Duration.minutes(30))
         .includeIframeOnlyStreams(false)
         .name("name")
         .build();
 
  • Method Details

    • getDuration

      @Stability(Experimental) @Nullable default Duration getDuration()
      (experimental) Duration of each segment.

      Default: Duration.seconds(6)

    • getIncludeIframeOnlyStreams

      @Stability(Experimental) @Nullable default Boolean getIncludeIframeOnlyStreams()
      (experimental) Whether to include I-frame-only streams.

      Default: false

    • getName

      @Stability(Experimental) @Nullable default String getName()
      (experimental) Name of the segment.

      Default: 'segment'

    • builder

      @Stability(Experimental) static SegmentPropsBase.Builder builder()
      Returns:
      a SegmentPropsBase.Builder of SegmentPropsBase