Class CfnRecordingConfigurationProps.Builder
java.lang.Object
software.amazon.awscdk.services.ivs.CfnRecordingConfigurationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRecordingConfigurationProps>
- Enclosing interface:
- CfnRecordingConfigurationProps
@Stability(Stable)
public static final class CfnRecordingConfigurationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRecordingConfigurationProps>
A builder for
CfnRecordingConfigurationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinationConfiguration(IResolvable destinationConfiguration) Sets the value ofCfnRecordingConfigurationProps.getDestinationConfiguration()destinationConfiguration(CfnRecordingConfiguration.DestinationConfigurationProperty destinationConfiguration) Sets the value ofCfnRecordingConfigurationProps.getDestinationConfiguration()Sets the value ofCfnRecordingConfigurationProps.getName()recordingReconnectWindowSeconds(Number recordingReconnectWindowSeconds) Sets the value ofCfnRecordingConfigurationProps.getRecordingReconnectWindowSeconds()Sets the value ofCfnRecordingConfigurationProps.getTags()thumbnailConfiguration(IResolvable thumbnailConfiguration) Sets the value ofCfnRecordingConfigurationProps.getThumbnailConfiguration()thumbnailConfiguration(CfnRecordingConfiguration.ThumbnailConfigurationProperty thumbnailConfiguration) Sets the value ofCfnRecordingConfigurationProps.getThumbnailConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationConfiguration
@Stability(Stable) public CfnRecordingConfigurationProps.Builder destinationConfiguration(IResolvable destinationConfiguration) Sets the value ofCfnRecordingConfigurationProps.getDestinationConfiguration()- Parameters:
destinationConfiguration- A destination configuration contains information about where recorded video will be stored. This parameter is required. See the DestinationConfiguration property type for more information.- Returns:
this
-
destinationConfiguration
@Stability(Stable) public CfnRecordingConfigurationProps.Builder destinationConfiguration(CfnRecordingConfiguration.DestinationConfigurationProperty destinationConfiguration) Sets the value ofCfnRecordingConfigurationProps.getDestinationConfiguration()- Parameters:
destinationConfiguration- A destination configuration contains information about where recorded video will be stored. This parameter is required. See the DestinationConfiguration property type for more information.- Returns:
this
-
name
Sets the value ofCfnRecordingConfigurationProps.getName()- Parameters:
name- Recording-configuration name. The value does not need to be unique.- Returns:
this
-
recordingReconnectWindowSeconds
@Stability(Stable) public CfnRecordingConfigurationProps.Builder recordingReconnectWindowSeconds(Number recordingReconnectWindowSeconds) Sets the value ofCfnRecordingConfigurationProps.getRecordingReconnectWindowSeconds()- Parameters:
recordingReconnectWindowSeconds- If a broadcast disconnects and then reconnects within the specified interval, the multiple streams will be considered a single broadcast and merged together. Default :0- Returns:
this
-
tags
Sets the value ofCfnRecordingConfigurationProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
thumbnailConfiguration
@Stability(Stable) public CfnRecordingConfigurationProps.Builder thumbnailConfiguration(IResolvable thumbnailConfiguration) Sets the value ofCfnRecordingConfigurationProps.getThumbnailConfiguration()- Parameters:
thumbnailConfiguration- A thumbnail configuration enables/disables the recording of thumbnails for a live session and controls the interval at which thumbnails are generated for the live session. See the ThumbnailConfiguration property type for more information.- Returns:
this
-
thumbnailConfiguration
@Stability(Stable) public CfnRecordingConfigurationProps.Builder thumbnailConfiguration(CfnRecordingConfiguration.ThumbnailConfigurationProperty thumbnailConfiguration) Sets the value ofCfnRecordingConfigurationProps.getThumbnailConfiguration()- Parameters:
thumbnailConfiguration- A thumbnail configuration enables/disables the recording of thumbnails for a live session and controls the interval at which thumbnails are generated for the live session. See the ThumbnailConfiguration property type for more information.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRecordingConfigurationProps>- Returns:
- a new instance of
CfnRecordingConfigurationProps - Throws:
NullPointerException- if any required attribute was not provided
-