Class CfnChannelPropsMixin.ArchiveGroupSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnChannelPropsMixin.ArchiveGroupSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.ArchiveGroupSettingsProperty>
- Enclosing interface:
CfnChannelPropsMixin.ArchiveGroupSettingsProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.ArchiveGroupSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.ArchiveGroupSettingsProperty>
A builder for
CfnChannelPropsMixin.ArchiveGroupSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarchiveCdnSettings(CfnChannelPropsMixin.ArchiveCdnSettingsProperty archiveCdnSettings) archiveCdnSettings(IResolvable archiveCdnSettings) build()Builds the configured instance.Sets the value ofCfnChannelPropsMixin.ArchiveGroupSettingsProperty.getDestination()destination(IResolvable destination) Sets the value ofCfnChannelPropsMixin.ArchiveGroupSettingsProperty.getDestination()rolloverInterval(Number rolloverInterval) Sets the value ofCfnChannelPropsMixin.ArchiveGroupSettingsProperty.getRolloverInterval()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
archiveCdnSettings
@Stability(Stable) public CfnChannelPropsMixin.ArchiveGroupSettingsProperty.Builder archiveCdnSettings(IResolvable archiveCdnSettings) - Parameters:
archiveCdnSettings- Settings to configure the destination of an Archive output.- Returns:
this
-
archiveCdnSettings
@Stability(Stable) public CfnChannelPropsMixin.ArchiveGroupSettingsProperty.Builder archiveCdnSettings(CfnChannelPropsMixin.ArchiveCdnSettingsProperty archiveCdnSettings) - Parameters:
archiveCdnSettings- Settings to configure the destination of an Archive output.- Returns:
this
-
destination
@Stability(Stable) public CfnChannelPropsMixin.ArchiveGroupSettingsProperty.Builder destination(IResolvable destination) Sets the value ofCfnChannelPropsMixin.ArchiveGroupSettingsProperty.getDestination()- Parameters:
destination- A directory and base file name where archive files should be written.- Returns:
this
-
destination
@Stability(Stable) public CfnChannelPropsMixin.ArchiveGroupSettingsProperty.Builder destination(CfnChannelPropsMixin.OutputLocationRefProperty destination) Sets the value ofCfnChannelPropsMixin.ArchiveGroupSettingsProperty.getDestination()- Parameters:
destination- A directory and base file name where archive files should be written.- Returns:
this
-
rolloverInterval
@Stability(Stable) public CfnChannelPropsMixin.ArchiveGroupSettingsProperty.Builder rolloverInterval(Number rolloverInterval) Sets the value ofCfnChannelPropsMixin.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.ArchiveGroupSettingsProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.ArchiveGroupSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-