Class CfnProgram.SpliceInsertMessageProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediatailor.CfnProgram.SpliceInsertMessageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProgram.SpliceInsertMessageProperty>
- Enclosing interface:
CfnProgram.SpliceInsertMessageProperty
@Stability(Stable)
public static final class CfnProgram.SpliceInsertMessageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProgram.SpliceInsertMessageProperty>
A builder for
CfnProgram.SpliceInsertMessageProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnProgram.SpliceInsertMessageProperty.getAvailNum()availsExpected(Number availsExpected) Sets the value ofCfnProgram.SpliceInsertMessageProperty.getAvailsExpected()build()Builds the configured instance.spliceEventId(Number spliceEventId) Sets the value ofCfnProgram.SpliceInsertMessageProperty.getSpliceEventId()uniqueProgramId(Number uniqueProgramId) Sets the value ofCfnProgram.SpliceInsertMessageProperty.getUniqueProgramId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
availNum
Sets the value ofCfnProgram.SpliceInsertMessageProperty.getAvailNum()- Parameters:
availNum- This is written to splice_insert.avail_num.- Returns:
this
-
availsExpected
@Stability(Stable) public CfnProgram.SpliceInsertMessageProperty.Builder availsExpected(Number availsExpected) Sets the value ofCfnProgram.SpliceInsertMessageProperty.getAvailsExpected()- Parameters:
availsExpected- This is written to splice_insert.avails_expected.- Returns:
this
-
spliceEventId
@Stability(Stable) public CfnProgram.SpliceInsertMessageProperty.Builder spliceEventId(Number spliceEventId) Sets the value ofCfnProgram.SpliceInsertMessageProperty.getSpliceEventId()- Parameters:
spliceEventId- This is written to splice_insert.splice_event_id.- Returns:
this
-
uniqueProgramId
@Stability(Stable) public CfnProgram.SpliceInsertMessageProperty.Builder uniqueProgramId(Number uniqueProgramId) Sets the value ofCfnProgram.SpliceInsertMessageProperty.getUniqueProgramId()- Parameters:
uniqueProgramId- This is written to splice_insert.unique_program_id.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProgram.SpliceInsertMessageProperty>- Returns:
- a new instance of
CfnProgram.SpliceInsertMessageProperty - Throws:
NullPointerException- if any required attribute was not provided
-