Class CfnOriginEndpointPropsMixin.SegmentProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediapackagev2.CfnOriginEndpointPropsMixin.SegmentProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.SegmentProperty>
- Enclosing interface:
CfnOriginEndpointPropsMixin.SegmentProperty
@Stability(Stable)
public static final class CfnOriginEndpointPropsMixin.SegmentProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.SegmentProperty>
A builder for
CfnOriginEndpointPropsMixin.SegmentProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnOriginEndpointPropsMixin.SegmentProperty.getEncryption()encryption(IResolvable encryption) Sets the value ofCfnOriginEndpointPropsMixin.SegmentProperty.getEncryption()includeIframeOnlyStreams(Boolean includeIframeOnlyStreams) includeIframeOnlyStreams(IResolvable includeIframeOnlyStreams) Sets the value ofCfnOriginEndpointPropsMixin.SegmentProperty.getScte()scte(IResolvable scte) Sets the value ofCfnOriginEndpointPropsMixin.SegmentProperty.getScte()segmentDurationSeconds(Number segmentDurationSeconds) Sets the value ofCfnOriginEndpointPropsMixin.SegmentProperty.getSegmentDurationSeconds()segmentName(String segmentName) Sets the value ofCfnOriginEndpointPropsMixin.SegmentProperty.getSegmentName()tsIncludeDvbSubtitles(Boolean tsIncludeDvbSubtitles) Sets the value ofCfnOriginEndpointPropsMixin.SegmentProperty.getTsIncludeDvbSubtitles()tsIncludeDvbSubtitles(IResolvable tsIncludeDvbSubtitles) Sets the value ofCfnOriginEndpointPropsMixin.SegmentProperty.getTsIncludeDvbSubtitles()tsUseAudioRenditionGroup(Boolean tsUseAudioRenditionGroup) tsUseAudioRenditionGroup(IResolvable tsUseAudioRenditionGroup)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encryption
@Stability(Stable) public CfnOriginEndpointPropsMixin.SegmentProperty.Builder encryption(IResolvable encryption) Sets the value ofCfnOriginEndpointPropsMixin.SegmentProperty.getEncryption()- Parameters:
encryption- Whether to use encryption for the segment.- Returns:
this
-
encryption
@Stability(Stable) public CfnOriginEndpointPropsMixin.SegmentProperty.Builder encryption(CfnOriginEndpointPropsMixin.EncryptionProperty encryption) Sets the value ofCfnOriginEndpointPropsMixin.SegmentProperty.getEncryption()- Parameters:
encryption- Whether to use encryption for the segment.- Returns:
this
-
includeIframeOnlyStreams
@Stability(Stable) public CfnOriginEndpointPropsMixin.SegmentProperty.Builder includeIframeOnlyStreams(Boolean includeIframeOnlyStreams) - Parameters:
includeIframeOnlyStreams- Whether the segment includes I-frame-only streams.- Returns:
this
-
includeIframeOnlyStreams
@Stability(Stable) public CfnOriginEndpointPropsMixin.SegmentProperty.Builder includeIframeOnlyStreams(IResolvable includeIframeOnlyStreams) - Parameters:
includeIframeOnlyStreams- Whether the segment includes I-frame-only streams.- Returns:
this
-
scte
@Stability(Stable) public CfnOriginEndpointPropsMixin.SegmentProperty.Builder scte(IResolvable scte) Sets the value ofCfnOriginEndpointPropsMixin.SegmentProperty.getScte()- Parameters:
scte- The SCTE-35 configuration associated with the segment.- Returns:
this
-
scte
@Stability(Stable) public CfnOriginEndpointPropsMixin.SegmentProperty.Builder scte(CfnOriginEndpointPropsMixin.ScteProperty scte) Sets the value ofCfnOriginEndpointPropsMixin.SegmentProperty.getScte()- Parameters:
scte- The SCTE-35 configuration associated with the segment.- Returns:
this
-
segmentDurationSeconds
@Stability(Stable) public CfnOriginEndpointPropsMixin.SegmentProperty.Builder segmentDurationSeconds(Number segmentDurationSeconds) Sets the value ofCfnOriginEndpointPropsMixin.SegmentProperty.getSegmentDurationSeconds()- Parameters:
segmentDurationSeconds- The duration of the segment, in seconds.- Returns:
this
-
segmentName
@Stability(Stable) public CfnOriginEndpointPropsMixin.SegmentProperty.Builder segmentName(String segmentName) Sets the value ofCfnOriginEndpointPropsMixin.SegmentProperty.getSegmentName()- Parameters:
segmentName- The name of the segment associated with the origin endpoint.- Returns:
this
-
tsIncludeDvbSubtitles
@Stability(Stable) public CfnOriginEndpointPropsMixin.SegmentProperty.Builder tsIncludeDvbSubtitles(Boolean tsIncludeDvbSubtitles) Sets the value ofCfnOriginEndpointPropsMixin.SegmentProperty.getTsIncludeDvbSubtitles()- Parameters:
tsIncludeDvbSubtitles- Whether the segment includes DVB subtitles.- Returns:
this
-
tsIncludeDvbSubtitles
@Stability(Stable) public CfnOriginEndpointPropsMixin.SegmentProperty.Builder tsIncludeDvbSubtitles(IResolvable tsIncludeDvbSubtitles) Sets the value ofCfnOriginEndpointPropsMixin.SegmentProperty.getTsIncludeDvbSubtitles()- Parameters:
tsIncludeDvbSubtitles- Whether the segment includes DVB subtitles.- Returns:
this
-
tsUseAudioRenditionGroup
@Stability(Stable) public CfnOriginEndpointPropsMixin.SegmentProperty.Builder tsUseAudioRenditionGroup(Boolean tsUseAudioRenditionGroup) - Parameters:
tsUseAudioRenditionGroup- Whether the segment is an audio rendition group.- Returns:
this
-
tsUseAudioRenditionGroup
@Stability(Stable) public CfnOriginEndpointPropsMixin.SegmentProperty.Builder tsUseAudioRenditionGroup(IResolvable tsUseAudioRenditionGroup) - Parameters:
tsUseAudioRenditionGroup- Whether the segment is an audio rendition group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.SegmentProperty>- Returns:
- a new instance of
CfnOriginEndpointPropsMixin.SegmentProperty - Throws:
NullPointerException- if any required attribute was not provided
-