Class CfnEncoderConfigurationProps.Builder
java.lang.Object
software.amazon.awscdk.services.ivs.CfnEncoderConfigurationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEncoderConfigurationProps>
- Enclosing interface:
CfnEncoderConfigurationProps
@Stability(Stable)
public static final class CfnEncoderConfigurationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEncoderConfigurationProps>
A builder for
CfnEncoderConfigurationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnEncoderConfigurationProps.getName()Sets the value ofCfnEncoderConfigurationProps.getTags()video(IResolvable video) Sets the value ofCfnEncoderConfigurationProps.getVideo()Sets the value ofCfnEncoderConfigurationProps.getVideo()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnEncoderConfigurationProps.getName()- Parameters:
name- Encoder cnfiguration name.- Returns:
this
-
tags
Sets the value ofCfnEncoderConfigurationProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
video
Sets the value ofCfnEncoderConfigurationProps.getVideo()- Parameters:
video- Video configuration. Default: video resolution 1280x720, bitrate 2500 kbps, 30 fps. See the Video property type for more information.- Returns:
this
-
video
@Stability(Stable) public CfnEncoderConfigurationProps.Builder video(CfnEncoderConfiguration.VideoProperty video) Sets the value ofCfnEncoderConfigurationProps.getVideo()- Parameters:
video- Video configuration. Default: video resolution 1280x720, bitrate 2500 kbps, 30 fps. See the Video property type for more information.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEncoderConfigurationProps>- Returns:
- a new instance of
CfnEncoderConfigurationProps - Throws:
NullPointerException- if any required attribute was not provided
-