Class CfnRecordingConfiguration.RenditionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ivs.CfnRecordingConfiguration.RenditionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRecordingConfiguration.RenditionConfigurationProperty>
- Enclosing interface:
CfnRecordingConfiguration.RenditionConfigurationProperty
@Stability(Stable)
public static final class CfnRecordingConfiguration.RenditionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRecordingConfiguration.RenditionConfigurationProperty>
A builder for
CfnRecordingConfiguration.RenditionConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.renditions
(List<String> renditions) Sets the value ofCfnRecordingConfiguration.RenditionConfigurationProperty.getRenditions()
renditionSelection
(String renditionSelection)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
renditions
@Stability(Stable) public CfnRecordingConfiguration.RenditionConfigurationProperty.Builder renditions(List<String> renditions) Sets the value ofCfnRecordingConfiguration.RenditionConfigurationProperty.getRenditions()
- Parameters:
renditions
- A list of which renditions are recorded for a stream, ifrenditionSelection
isCUSTOM
;. otherwise, this field is irrelevant. The selected renditions are recorded if they are available during the stream. If a selected rendition is unavailable, the best available rendition is recorded. For details on the resolution dimensions of each rendition, see Auto-Record to Amazon S3 .- Returns:
this
-
renditionSelection
@Stability(Stable) public CfnRecordingConfiguration.RenditionConfigurationProperty.Builder renditionSelection(String renditionSelection) - Parameters:
renditionSelection
- The set of renditions are recorded for a stream. ForBASIC
channels, theCUSTOM
value has no effect. IfCUSTOM
is specified, a set of renditions can be specified in therenditions
field. Default:ALL
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRecordingConfiguration.RenditionConfigurationProperty>
- Returns:
- a new instance of
CfnRecordingConfiguration.RenditionConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-