@Stability(value=Stable) public static final class CfnChannel.VideoDescriptionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnChannel.VideoDescriptionProperty>
CfnChannel.VideoDescriptionProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnChannel.VideoDescriptionProperty.Builder codecSettings(CfnChannel.VideoCodecSettingsProperty codecSettings)
CfnChannel.VideoDescriptionProperty.getCodecSettings()codecSettings - The video codec settings.this@Stability(value=Stable) public CfnChannel.VideoDescriptionProperty.Builder codecSettings(IResolvable codecSettings)
CfnChannel.VideoDescriptionProperty.getCodecSettings()codecSettings - The video codec settings.this@Stability(value=Stable) public CfnChannel.VideoDescriptionProperty.Builder height(Number height)
CfnChannel.VideoDescriptionProperty.getHeight()height - The output video height, in pixels.
This must be an even number. For most codecs, you can keep this field and width blank in order to use the height and width (resolution) from the source. Note that we don't recommend keeping the field blank. For the Frame Capture codec, height and width are required.this@Stability(value=Stable) public CfnChannel.VideoDescriptionProperty.Builder name(String name)
CfnChannel.VideoDescriptionProperty.getName()name - The name of this VideoDescription.
Outputs use this name to uniquely identify this description. Description names should be unique within this channel.this@Stability(value=Stable) public CfnChannel.VideoDescriptionProperty.Builder respondToAfd(String respondToAfd)
CfnChannel.VideoDescriptionProperty.getRespondToAfd()respondToAfd - Indicates how to respond to the AFD values in the input stream.
RESPOND causes input video to be clipped, depending on the AFD value, input display aspect ratio, and output display aspect ratio, and (except for the FRAMECAPTURE codec) includes the values in the output. PASSTHROUGH (does not apply to FRAMECAPTURE codec) ignores the AFD values and includes the values in the output, so input video is not clipped. NONE ignores the AFD values and does not include the values through to the output, so input video is not clipped.this@Stability(value=Stable) public CfnChannel.VideoDescriptionProperty.Builder scalingBehavior(String scalingBehavior)
CfnChannel.VideoDescriptionProperty.getScalingBehavior()scalingBehavior - STRETCHTOOUTPUT configures the output position to stretch the video to the specified output resolution (height and width).
This option overrides any position value. DEFAULT might insert black boxes (pillar boxes or letter boxes) around the video to provide the specified output resolution.this@Stability(value=Stable) public CfnChannel.VideoDescriptionProperty.Builder sharpness(Number sharpness)
CfnChannel.VideoDescriptionProperty.getSharpness()sharpness - Changes the strength of the anti-alias filter used for scaling.
0 is the softest setting, and 100 is the sharpest. We recommend a setting of 50 for most content.this@Stability(value=Stable) public CfnChannel.VideoDescriptionProperty.Builder width(Number width)
CfnChannel.VideoDescriptionProperty.getWidth()width - The output video width, in pixels.
It must be an even number. For most codecs, you can keep this field and height blank in order to use the height and width (resolution) from the source. Note that we don't recommend keeping the field blank. For the Frame Capture codec, height and width are required.this@Stability(value=Stable) public CfnChannel.VideoDescriptionProperty build()
build in interface software.amazon.jsii.Builder<CfnChannel.VideoDescriptionProperty>CfnChannel.VideoDescriptionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.