@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VideoDescription extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
VideoDescription() |
Modifier and Type | Method and Description |
---|---|
VideoDescription |
clone() |
boolean |
equals(Object obj) |
VideoCodecSettings |
getCodecSettings()
Video codec settings.
|
Integer |
getHeight()
Output video height (in pixels).
|
String |
getName()
The name of this VideoDescription.
|
String |
getRespondToAfd()
Indicates how to respond to the AFD values in the input stream.
|
String |
getScalingBehavior()
When set to "stretchToOutput", automatically configures the output position to stretch the video to the specified
output resolution.
|
Integer |
getSharpness()
Changes the width of the anti-alias filter kernel used for scaling.
|
Integer |
getWidth()
Output video width (in pixels).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCodecSettings(VideoCodecSettings codecSettings)
Video codec settings.
|
void |
setHeight(Integer height)
Output video height (in pixels).
|
void |
setName(String name)
The name of this VideoDescription.
|
void |
setRespondToAfd(String respondToAfd)
Indicates how to respond to the AFD values in the input stream.
|
void |
setScalingBehavior(String scalingBehavior)
When set to "stretchToOutput", automatically configures the output position to stretch the video to the specified
output resolution.
|
void |
setSharpness(Integer sharpness)
Changes the width of the anti-alias filter kernel used for scaling.
|
void |
setWidth(Integer width)
Output video width (in pixels).
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
VideoDescription |
withCodecSettings(VideoCodecSettings codecSettings)
Video codec settings.
|
VideoDescription |
withHeight(Integer height)
Output video height (in pixels).
|
VideoDescription |
withName(String name)
The name of this VideoDescription.
|
VideoDescription |
withRespondToAfd(String respondToAfd)
Indicates how to respond to the AFD values in the input stream.
|
VideoDescription |
withRespondToAfd(VideoDescriptionRespondToAfd respondToAfd)
Indicates how to respond to the AFD values in the input stream.
|
VideoDescription |
withScalingBehavior(String scalingBehavior)
When set to "stretchToOutput", automatically configures the output position to stretch the video to the specified
output resolution.
|
VideoDescription |
withScalingBehavior(VideoDescriptionScalingBehavior scalingBehavior)
When set to "stretchToOutput", automatically configures the output position to stretch the video to the specified
output resolution.
|
VideoDescription |
withSharpness(Integer sharpness)
Changes the width of the anti-alias filter kernel used for scaling.
|
VideoDescription |
withWidth(Integer width)
Output video width (in pixels).
|
public void setCodecSettings(VideoCodecSettings codecSettings)
codecSettings
- Video codec settings.public VideoCodecSettings getCodecSettings()
public VideoDescription withCodecSettings(VideoCodecSettings codecSettings)
codecSettings
- Video codec settings.public void setHeight(Integer height)
height
- Output video height (in pixels). Leave blank to use source video height. If left blank, width must also be
unspecified.public Integer getHeight()
public VideoDescription withHeight(Integer height)
height
- Output video height (in pixels). Leave blank to use source video height. If left blank, width must also be
unspecified.public void setName(String name)
name
- The name of this VideoDescription. Outputs will use this name to uniquely identify this Description.
Description names should be unique within this Live Event.public String getName()
public VideoDescription withName(String name)
name
- The name of this VideoDescription. Outputs will use this name to uniquely identify this Description.
Description names should be unique within this Live Event.public void setRespondToAfd(String respondToAfd)
respondToAfd
- Indicates how to respond to the AFD values in the input stream. Setting to "respond" causes input video to
be clipped, depending on AFD value, input display aspect ratio and output display aspect ratio.VideoDescriptionRespondToAfd
public String getRespondToAfd()
VideoDescriptionRespondToAfd
public VideoDescription withRespondToAfd(String respondToAfd)
respondToAfd
- Indicates how to respond to the AFD values in the input stream. Setting to "respond" causes input video to
be clipped, depending on AFD value, input display aspect ratio and output display aspect ratio.VideoDescriptionRespondToAfd
public VideoDescription withRespondToAfd(VideoDescriptionRespondToAfd respondToAfd)
respondToAfd
- Indicates how to respond to the AFD values in the input stream. Setting to "respond" causes input video to
be clipped, depending on AFD value, input display aspect ratio and output display aspect ratio.VideoDescriptionRespondToAfd
public void setScalingBehavior(String scalingBehavior)
scalingBehavior
- When set to "stretchToOutput", automatically configures the output position to stretch the video to the
specified output resolution. This option will override any position value.VideoDescriptionScalingBehavior
public String getScalingBehavior()
VideoDescriptionScalingBehavior
public VideoDescription withScalingBehavior(String scalingBehavior)
scalingBehavior
- When set to "stretchToOutput", automatically configures the output position to stretch the video to the
specified output resolution. This option will override any position value.VideoDescriptionScalingBehavior
public VideoDescription withScalingBehavior(VideoDescriptionScalingBehavior scalingBehavior)
scalingBehavior
- When set to "stretchToOutput", automatically configures the output position to stretch the video to the
specified output resolution. This option will override any position value.VideoDescriptionScalingBehavior
public void setSharpness(Integer sharpness)
sharpness
- Changes the width of the anti-alias filter kernel used for scaling. Only applies if scaling is being
performed and antiAlias is set to true. 0 is the softest setting, 100 the sharpest, and 50 recommended for
most content.public Integer getSharpness()
public VideoDescription withSharpness(Integer sharpness)
sharpness
- Changes the width of the anti-alias filter kernel used for scaling. Only applies if scaling is being
performed and antiAlias is set to true. 0 is the softest setting, 100 the sharpest, and 50 recommended for
most content.public void setWidth(Integer width)
width
- Output video width (in pixels). Leave out to use source video width. If left out, height must also be left
out. Display aspect ratio is always preserved by letterboxing or pillarboxing when necessary.public Integer getWidth()
public VideoDescription withWidth(Integer width)
width
- Output video width (in pixels). Leave out to use source video width. If left out, height must also be left
out. Display aspect ratio is always preserved by letterboxing or pillarboxing when necessary.public String toString()
toString
in class Object
Object.toString()
public VideoDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.