Class MsSmoothOutputDefinition.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.MsSmoothOutputDefinition.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MsSmoothOutputDefinition>
- Enclosing interface:
MsSmoothOutputDefinition
@Stability(Experimental)
public static final class MsSmoothOutputDefinition.Builder
extends Object
implements software.amazon.jsii.Builder<MsSmoothOutputDefinition>
A builder for
MsSmoothOutputDefinition-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.encodes(List<? extends EncodeConfiguration> encodes) Sets the value ofOutputDefinition.getEncodes()h265PackagingType(H265PackagingType h265PackagingType) Sets the value ofMsSmoothOutputDefinition.getH265PackagingType()nameModifier(String nameModifier) Sets the value ofMsSmoothOutputDefinition.getNameModifier()outputName(String outputName) Sets the value ofOutputDefinition.getOutputName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
h265PackagingType
@Stability(Experimental) public MsSmoothOutputDefinition.Builder h265PackagingType(H265PackagingType h265PackagingType) Sets the value ofMsSmoothOutputDefinition.getH265PackagingType()- Parameters:
h265PackagingType- For H.265 video, whether to package as HEV1 or HVC1.- Returns:
this
-
nameModifier
Sets the value ofMsSmoothOutputDefinition.getNameModifier()- Parameters:
nameModifier- A string concatenated to the end of the destination file name. Required if the output group contains more than one output.- Returns:
this
-
encodes
@Stability(Experimental) public MsSmoothOutputDefinition.Builder encodes(List<? extends EncodeConfiguration> encodes) Sets the value ofOutputDefinition.getEncodes()- Parameters:
encodes- The encode configurations to wire to this output. This parameter is required.- Returns:
this
-
outputName
Sets the value ofOutputDefinition.getOutputName()- Parameters:
outputName- The name of this output. This parameter is required. Must be unique across all outputs in the channel.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MsSmoothOutputDefinition>- Returns:
- a new instance of
MsSmoothOutputDefinition - Throws:
NullPointerException- if any required attribute was not provided
-