Class CfnChannel.ArchiveGroupSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.ArchiveGroupSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.ArchiveGroupSettingsProperty>
- Enclosing interface:
CfnChannel.ArchiveGroupSettingsProperty
@Stability(Stable)
public static final class CfnChannel.ArchiveGroupSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.ArchiveGroupSettingsProperty>
A builder for
CfnChannel.ArchiveGroupSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionarchiveCdnSettings
(IResolvable archiveCdnSettings) Sets the value ofCfnChannel.ArchiveGroupSettingsProperty.getArchiveCdnSettings()
archiveCdnSettings
(CfnChannel.ArchiveCdnSettingsProperty archiveCdnSettings) Sets the value ofCfnChannel.ArchiveGroupSettingsProperty.getArchiveCdnSettings()
build()
Builds the configured instance.destination
(IResolvable destination) Sets the value ofCfnChannel.ArchiveGroupSettingsProperty.getDestination()
destination
(CfnChannel.OutputLocationRefProperty destination) Sets the value ofCfnChannel.ArchiveGroupSettingsProperty.getDestination()
rolloverInterval
(Number rolloverInterval) Sets the value ofCfnChannel.ArchiveGroupSettingsProperty.getRolloverInterval()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
archiveCdnSettings
@Stability(Stable) public CfnChannel.ArchiveGroupSettingsProperty.Builder archiveCdnSettings(IResolvable archiveCdnSettings) Sets the value ofCfnChannel.ArchiveGroupSettingsProperty.getArchiveCdnSettings()
- Parameters:
archiveCdnSettings
- Settings to configure the destination of an Archive output.- Returns:
this
-
archiveCdnSettings
@Stability(Stable) public CfnChannel.ArchiveGroupSettingsProperty.Builder archiveCdnSettings(CfnChannel.ArchiveCdnSettingsProperty archiveCdnSettings) Sets the value ofCfnChannel.ArchiveGroupSettingsProperty.getArchiveCdnSettings()
- Parameters:
archiveCdnSettings
- Settings to configure the destination of an Archive output.- Returns:
this
-
destination
@Stability(Stable) public CfnChannel.ArchiveGroupSettingsProperty.Builder destination(IResolvable destination) Sets the value ofCfnChannel.ArchiveGroupSettingsProperty.getDestination()
- Parameters:
destination
- A directory and base file name where archive files should be written.- Returns:
this
-
destination
@Stability(Stable) public CfnChannel.ArchiveGroupSettingsProperty.Builder destination(CfnChannel.OutputLocationRefProperty destination) Sets the value ofCfnChannel.ArchiveGroupSettingsProperty.getDestination()
- Parameters:
destination
- A directory and base file name where archive files should be written.- Returns:
this
-
rolloverInterval
@Stability(Stable) public CfnChannel.ArchiveGroupSettingsProperty.Builder rolloverInterval(Number rolloverInterval) Sets the value ofCfnChannel.ArchiveGroupSettingsProperty.getRolloverInterval()
- Parameters:
rolloverInterval
- The number of seconds to write to an archive file before closing and starting a new one.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.ArchiveGroupSettingsProperty>
- Returns:
- a new instance of
CfnChannel.ArchiveGroupSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-