Class CfnChannel.HlsOutputSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.HlsOutputSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.HlsOutputSettingsProperty>
- Enclosing interface:
CfnChannel.HlsOutputSettingsProperty
@Stability(Stable)
public static final class CfnChannel.HlsOutputSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.HlsOutputSettingsProperty>
A builder for
CfnChannel.HlsOutputSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.h265PackagingType(String h265PackagingType) Sets the value ofCfnChannel.HlsOutputSettingsProperty.getH265PackagingType()hlsSettings(IResolvable hlsSettings) Sets the value ofCfnChannel.HlsOutputSettingsProperty.getHlsSettings()hlsSettings(CfnChannel.HlsSettingsProperty hlsSettings) Sets the value ofCfnChannel.HlsOutputSettingsProperty.getHlsSettings()nameModifier(String nameModifier) Sets the value ofCfnChannel.HlsOutputSettingsProperty.getNameModifier()segmentModifier(String segmentModifier) Sets the value ofCfnChannel.HlsOutputSettingsProperty.getSegmentModifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
h265PackagingType
@Stability(Stable) public CfnChannel.HlsOutputSettingsProperty.Builder h265PackagingType(String h265PackagingType) Sets the value ofCfnChannel.HlsOutputSettingsProperty.getH265PackagingType()- Parameters:
h265PackagingType- Only applicable when this output is referencing an H.265 video description. Specifies whether MP4 segments should be packaged as HEV1 or HVC1.- Returns:
this
-
hlsSettings
@Stability(Stable) public CfnChannel.HlsOutputSettingsProperty.Builder hlsSettings(IResolvable hlsSettings) Sets the value ofCfnChannel.HlsOutputSettingsProperty.getHlsSettings()- Parameters:
hlsSettings- The settings regarding the underlying stream. These settings are different for audio-only outputs.- Returns:
this
-
hlsSettings
@Stability(Stable) public CfnChannel.HlsOutputSettingsProperty.Builder hlsSettings(CfnChannel.HlsSettingsProperty hlsSettings) Sets the value ofCfnChannel.HlsOutputSettingsProperty.getHlsSettings()- Parameters:
hlsSettings- The settings regarding the underlying stream. These settings are different for audio-only outputs.- Returns:
this
-
nameModifier
@Stability(Stable) public CfnChannel.HlsOutputSettingsProperty.Builder nameModifier(String nameModifier) Sets the value ofCfnChannel.HlsOutputSettingsProperty.getNameModifier()- Parameters:
nameModifier- A string that is concatenated to the end of the destination file name. Accepts "Format Identifiers":#formatIdentifierParameters.- Returns:
this
-
segmentModifier
@Stability(Stable) public CfnChannel.HlsOutputSettingsProperty.Builder segmentModifier(String segmentModifier) Sets the value ofCfnChannel.HlsOutputSettingsProperty.getSegmentModifier()- Parameters:
segmentModifier- A string that is concatenated to the end of segment file names.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.HlsOutputSettingsProperty>- Returns:
- a new instance of
CfnChannel.HlsOutputSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-