Class CfnProgram.SegmentationDescriptorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediatailor.CfnProgram.SegmentationDescriptorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProgram.SegmentationDescriptorProperty>
- Enclosing interface:
CfnProgram.SegmentationDescriptorProperty
@Stability(Stable)
public static final class CfnProgram.SegmentationDescriptorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProgram.SegmentationDescriptorProperty>
A builder for
CfnProgram.SegmentationDescriptorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.segmentationEventId(Number segmentationEventId) Sets the value ofCfnProgram.SegmentationDescriptorProperty.getSegmentationEventId()segmentationTypeId(Number segmentationTypeId) Sets the value ofCfnProgram.SegmentationDescriptorProperty.getSegmentationTypeId()segmentationUpid(String segmentationUpid) Sets the value ofCfnProgram.SegmentationDescriptorProperty.getSegmentationUpid()segmentationUpidType(Number segmentationUpidType) Sets the value ofCfnProgram.SegmentationDescriptorProperty.getSegmentationUpidType()segmentNum(Number segmentNum) Sets the value ofCfnProgram.SegmentationDescriptorProperty.getSegmentNum()segmentsExpected(Number segmentsExpected) Sets the value ofCfnProgram.SegmentationDescriptorProperty.getSegmentsExpected()subSegmentNum(Number subSegmentNum) Sets the value ofCfnProgram.SegmentationDescriptorProperty.getSubSegmentNum()subSegmentsExpected(Number subSegmentsExpected) Sets the value ofCfnProgram.SegmentationDescriptorProperty.getSubSegmentsExpected()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
segmentationEventId
@Stability(Stable) public CfnProgram.SegmentationDescriptorProperty.Builder segmentationEventId(Number segmentationEventId) Sets the value ofCfnProgram.SegmentationDescriptorProperty.getSegmentationEventId()- Parameters:
segmentationEventId- The Event Identifier to assign.- Returns:
this
-
segmentationTypeId
@Stability(Stable) public CfnProgram.SegmentationDescriptorProperty.Builder segmentationTypeId(Number segmentationTypeId) Sets the value ofCfnProgram.SegmentationDescriptorProperty.getSegmentationTypeId()- Parameters:
segmentationTypeId- The Type Identifier to assign.- Returns:
this
-
segmentationUpid
@Stability(Stable) public CfnProgram.SegmentationDescriptorProperty.Builder segmentationUpid(String segmentationUpid) Sets the value ofCfnProgram.SegmentationDescriptorProperty.getSegmentationUpid()- Parameters:
segmentationUpid- The Upid to assign.- Returns:
this
-
segmentationUpidType
@Stability(Stable) public CfnProgram.SegmentationDescriptorProperty.Builder segmentationUpidType(Number segmentationUpidType) Sets the value ofCfnProgram.SegmentationDescriptorProperty.getSegmentationUpidType()- Parameters:
segmentationUpidType- The Upid Type to assign.- Returns:
this
-
segmentNum
@Stability(Stable) public CfnProgram.SegmentationDescriptorProperty.Builder segmentNum(Number segmentNum) Sets the value ofCfnProgram.SegmentationDescriptorProperty.getSegmentNum()- Parameters:
segmentNum- The segment number to assign.- Returns:
this
-
segmentsExpected
@Stability(Stable) public CfnProgram.SegmentationDescriptorProperty.Builder segmentsExpected(Number segmentsExpected) Sets the value ofCfnProgram.SegmentationDescriptorProperty.getSegmentsExpected()- Parameters:
segmentsExpected- The number of segments expected.- Returns:
this
-
subSegmentNum
@Stability(Stable) public CfnProgram.SegmentationDescriptorProperty.Builder subSegmentNum(Number subSegmentNum) Sets the value ofCfnProgram.SegmentationDescriptorProperty.getSubSegmentNum()- Parameters:
subSegmentNum- The sub-segment number to assign.- Returns:
this
-
subSegmentsExpected
@Stability(Stable) public CfnProgram.SegmentationDescriptorProperty.Builder subSegmentsExpected(Number subSegmentsExpected) Sets the value ofCfnProgram.SegmentationDescriptorProperty.getSubSegmentsExpected()- Parameters:
subSegmentsExpected- The number of sub-segments expected.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProgram.SegmentationDescriptorProperty>- Returns:
- a new instance of
CfnProgram.SegmentationDescriptorProperty - Throws:
NullPointerException- if any required attribute was not provided
-