Class CfnChannelPropsMixin.VideoSelectorProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnChannelPropsMixin.VideoSelectorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.VideoSelectorProperty>
- Enclosing interface:
CfnChannelPropsMixin.VideoSelectorProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.VideoSelectorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.VideoSelectorProperty>
A builder for
CfnChannelPropsMixin.VideoSelectorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.colorSpace(String colorSpace) Sets the value ofCfnChannelPropsMixin.VideoSelectorProperty.getColorSpace()colorSpaceSettings(CfnChannelPropsMixin.VideoSelectorColorSpaceSettingsProperty colorSpaceSettings) Sets the value ofCfnChannelPropsMixin.VideoSelectorProperty.getColorSpaceSettings()colorSpaceSettings(IResolvable colorSpaceSettings) Sets the value ofCfnChannelPropsMixin.VideoSelectorProperty.getColorSpaceSettings()colorSpaceUsage(String colorSpaceUsage) Sets the value ofCfnChannelPropsMixin.VideoSelectorProperty.getColorSpaceUsage()selectorSettings(CfnChannelPropsMixin.VideoSelectorSettingsProperty selectorSettings) Sets the value ofCfnChannelPropsMixin.VideoSelectorProperty.getSelectorSettings()selectorSettings(IResolvable selectorSettings) Sets the value ofCfnChannelPropsMixin.VideoSelectorProperty.getSelectorSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
colorSpace
@Stability(Stable) public CfnChannelPropsMixin.VideoSelectorProperty.Builder colorSpace(String colorSpace) Sets the value ofCfnChannelPropsMixin.VideoSelectorProperty.getColorSpace()- Parameters:
colorSpace- Specifies the color space of an input. This setting works in tandem with colorSpaceConversion to determine if MediaLive will perform any conversion.- Returns:
this
-
colorSpaceSettings
@Stability(Stable) public CfnChannelPropsMixin.VideoSelectorProperty.Builder colorSpaceSettings(IResolvable colorSpaceSettings) Sets the value ofCfnChannelPropsMixin.VideoSelectorProperty.getColorSpaceSettings()- Parameters:
colorSpaceSettings- Settings to configure color space settings in the incoming video.- Returns:
this
-
colorSpaceSettings
@Stability(Stable) public CfnChannelPropsMixin.VideoSelectorProperty.Builder colorSpaceSettings(CfnChannelPropsMixin.VideoSelectorColorSpaceSettingsProperty colorSpaceSettings) Sets the value ofCfnChannelPropsMixin.VideoSelectorProperty.getColorSpaceSettings()- Parameters:
colorSpaceSettings- Settings to configure color space settings in the incoming video.- Returns:
this
-
colorSpaceUsage
@Stability(Stable) public CfnChannelPropsMixin.VideoSelectorProperty.Builder colorSpaceUsage(String colorSpaceUsage) Sets the value ofCfnChannelPropsMixin.VideoSelectorProperty.getColorSpaceUsage()- Parameters:
colorSpaceUsage- Applies only if colorSpace is a value other than Follow. This field controls how the value in the colorSpace field is used. Fallback means that when the input does include color space data, that data is used, but when the input has no color space data, the value in colorSpace is used. Choose fallback if your input is sometimes missing color space data, but when it does have color space data, that data is correct. Force means to always use the value in colorSpace. Choose force if your input usually has no color space data or might have unreliable color space data.- Returns:
this
-
selectorSettings
@Stability(Stable) public CfnChannelPropsMixin.VideoSelectorProperty.Builder selectorSettings(IResolvable selectorSettings) Sets the value ofCfnChannelPropsMixin.VideoSelectorProperty.getSelectorSettings()- Parameters:
selectorSettings- Information about the video to select from the content.- Returns:
this
-
selectorSettings
@Stability(Stable) public CfnChannelPropsMixin.VideoSelectorProperty.Builder selectorSettings(CfnChannelPropsMixin.VideoSelectorSettingsProperty selectorSettings) Sets the value ofCfnChannelPropsMixin.VideoSelectorProperty.getSelectorSettings()- Parameters:
selectorSettings- Information about the video to select from the content.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.VideoSelectorProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.VideoSelectorProperty - Throws:
NullPointerException- if any required attribute was not provided
-