Class CfnChannel.ArchiveOutputSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.ArchiveOutputSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.ArchiveOutputSettingsProperty>
- Enclosing interface:
CfnChannel.ArchiveOutputSettingsProperty
@Stability(Stable)
public static final class CfnChannel.ArchiveOutputSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.ArchiveOutputSettingsProperty>
A builder for
CfnChannel.ArchiveOutputSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.containerSettings
(IResolvable containerSettings) Sets the value ofCfnChannel.ArchiveOutputSettingsProperty.getContainerSettings()
containerSettings
(CfnChannel.ArchiveContainerSettingsProperty containerSettings) Sets the value ofCfnChannel.ArchiveOutputSettingsProperty.getContainerSettings()
Sets the value ofCfnChannel.ArchiveOutputSettingsProperty.getExtension()
nameModifier
(String nameModifier) Sets the value ofCfnChannel.ArchiveOutputSettingsProperty.getNameModifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
containerSettings
@Stability(Stable) public CfnChannel.ArchiveOutputSettingsProperty.Builder containerSettings(IResolvable containerSettings) Sets the value ofCfnChannel.ArchiveOutputSettingsProperty.getContainerSettings()
- Parameters:
containerSettings
- The settings that are specific to the container type of the file.- Returns:
this
-
containerSettings
@Stability(Stable) public CfnChannel.ArchiveOutputSettingsProperty.Builder containerSettings(CfnChannel.ArchiveContainerSettingsProperty containerSettings) Sets the value ofCfnChannel.ArchiveOutputSettingsProperty.getContainerSettings()
- Parameters:
containerSettings
- The settings that are specific to the container type of the file.- Returns:
this
-
extension
@Stability(Stable) public CfnChannel.ArchiveOutputSettingsProperty.Builder extension(String extension) Sets the value ofCfnChannel.ArchiveOutputSettingsProperty.getExtension()
- Parameters:
extension
- The output file extension. If excluded, this is auto-selected from the container type.- Returns:
this
-
nameModifier
@Stability(Stable) public CfnChannel.ArchiveOutputSettingsProperty.Builder nameModifier(String nameModifier) Sets the value ofCfnChannel.ArchiveOutputSettingsProperty.getNameModifier()
- Parameters:
nameModifier
- A string that is concatenated to the end of the destination file name. The string is required for multiple outputs of the same type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.ArchiveOutputSettingsProperty>
- Returns:
- a new instance of
CfnChannel.ArchiveOutputSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-