public static final class CfnChannel.VideoDescriptionProperty.Builder
extends java.lang.Object
CfnChannel.VideoDescriptionProperty
Constructor and Description |
---|
Builder() |
public CfnChannel.VideoDescriptionProperty.Builder codecSettings(IResolvable codecSettings)
CfnChannel.VideoDescriptionProperty.getCodecSettings()
codecSettings
- The video codec settings.this
public CfnChannel.VideoDescriptionProperty.Builder codecSettings(CfnChannel.VideoCodecSettingsProperty codecSettings)
CfnChannel.VideoDescriptionProperty.getCodecSettings()
codecSettings
- The video codec settings.this
public CfnChannel.VideoDescriptionProperty.Builder height(java.lang.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
public CfnChannel.VideoDescriptionProperty.Builder name(java.lang.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
public CfnChannel.VideoDescriptionProperty.Builder respondToAfd(java.lang.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
public CfnChannel.VideoDescriptionProperty.Builder scalingBehavior(java.lang.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
public CfnChannel.VideoDescriptionProperty.Builder sharpness(java.lang.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
public CfnChannel.VideoDescriptionProperty.Builder width(java.lang.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
public CfnChannel.VideoDescriptionProperty build()
CfnChannel.VideoDescriptionProperty
java.lang.NullPointerException
- if any required attribute was not provided