@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BurninDestinationSettings extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
BurninDestinationSettings() |
Modifier and Type | Method and Description |
---|---|
BurninDestinationSettings |
clone() |
boolean |
equals(Object obj) |
String |
getAlignment()
If no explicit x_position or y_position is provided, setting alignment to centered will place the captions at the
bottom center of the output.
|
String |
getBackgroundColor()
Specifies the color of the rectangle behind the captions.
|
Integer |
getBackgroundOpacity()
Specifies the opacity of the background rectangle.
|
String |
getFontColor()
Specifies the color of the burned-in captions.
|
Integer |
getFontOpacity()
Specifies the opacity of the burned-in captions.
|
Integer |
getFontResolution()
Font resolution in DPI (dots per inch); default is 96 dpi.
|
String |
getFontScript()
Provide the font script, using an ISO 15924 script code, if the LanguageCode is not sufficient for determining
the script type.
|
Integer |
getFontSize()
A positive integer indicates the exact font size in points.
|
String |
getOutlineColor()
Specifies font outline color.
|
Integer |
getOutlineSize()
Specifies font outline size in pixels.
|
String |
getShadowColor()
Specifies the color of the shadow cast by the captions.
|
Integer |
getShadowOpacity()
Specifies the opacity of the shadow.
|
Integer |
getShadowXOffset()
Specifies the horizontal offset of the shadow relative to the captions in pixels.
|
Integer |
getShadowYOffset()
Specifies the vertical offset of the shadow relative to the captions in pixels.
|
String |
getTeletextSpacing()
Only applies to jobs with input captions in Teletext or STL formats.
|
Integer |
getXPosition()
Specifies the horizontal position of the caption relative to the left side of the output in pixels.
|
Integer |
getYPosition()
Specifies the vertical position of the caption relative to the top of the output in pixels.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlignment(String alignment)
If no explicit x_position or y_position is provided, setting alignment to centered will place the captions at the
bottom center of the output.
|
void |
setBackgroundColor(String backgroundColor)
Specifies the color of the rectangle behind the captions.
|
void |
setBackgroundOpacity(Integer backgroundOpacity)
Specifies the opacity of the background rectangle.
|
void |
setFontColor(String fontColor)
Specifies the color of the burned-in captions.
|
void |
setFontOpacity(Integer fontOpacity)
Specifies the opacity of the burned-in captions.
|
void |
setFontResolution(Integer fontResolution)
Font resolution in DPI (dots per inch); default is 96 dpi.
|
void |
setFontScript(String fontScript)
Provide the font script, using an ISO 15924 script code, if the LanguageCode is not sufficient for determining
the script type.
|
void |
setFontSize(Integer fontSize)
A positive integer indicates the exact font size in points.
|
void |
setOutlineColor(String outlineColor)
Specifies font outline color.
|
void |
setOutlineSize(Integer outlineSize)
Specifies font outline size in pixels.
|
void |
setShadowColor(String shadowColor)
Specifies the color of the shadow cast by the captions.
|
void |
setShadowOpacity(Integer shadowOpacity)
Specifies the opacity of the shadow.
|
void |
setShadowXOffset(Integer shadowXOffset)
Specifies the horizontal offset of the shadow relative to the captions in pixels.
|
void |
setShadowYOffset(Integer shadowYOffset)
Specifies the vertical offset of the shadow relative to the captions in pixels.
|
void |
setTeletextSpacing(String teletextSpacing)
Only applies to jobs with input captions in Teletext or STL formats.
|
void |
setXPosition(Integer xPosition)
Specifies the horizontal position of the caption relative to the left side of the output in pixels.
|
void |
setYPosition(Integer yPosition)
Specifies the vertical position of the caption relative to the top of the output in pixels.
|
String |
toString()
Returns a string representation of this object.
|
BurninDestinationSettings |
withAlignment(BurninSubtitleAlignment alignment)
If no explicit x_position or y_position is provided, setting alignment to centered will place the captions at the
bottom center of the output.
|
BurninDestinationSettings |
withAlignment(String alignment)
If no explicit x_position or y_position is provided, setting alignment to centered will place the captions at the
bottom center of the output.
|
BurninDestinationSettings |
withBackgroundColor(BurninSubtitleBackgroundColor backgroundColor)
Specifies the color of the rectangle behind the captions.
|
BurninDestinationSettings |
withBackgroundColor(String backgroundColor)
Specifies the color of the rectangle behind the captions.
|
BurninDestinationSettings |
withBackgroundOpacity(Integer backgroundOpacity)
Specifies the opacity of the background rectangle.
|
BurninDestinationSettings |
withFontColor(BurninSubtitleFontColor fontColor)
Specifies the color of the burned-in captions.
|
BurninDestinationSettings |
withFontColor(String fontColor)
Specifies the color of the burned-in captions.
|
BurninDestinationSettings |
withFontOpacity(Integer fontOpacity)
Specifies the opacity of the burned-in captions.
|
BurninDestinationSettings |
withFontResolution(Integer fontResolution)
Font resolution in DPI (dots per inch); default is 96 dpi.
|
BurninDestinationSettings |
withFontScript(FontScript fontScript)
Provide the font script, using an ISO 15924 script code, if the LanguageCode is not sufficient for determining
the script type.
|
BurninDestinationSettings |
withFontScript(String fontScript)
Provide the font script, using an ISO 15924 script code, if the LanguageCode is not sufficient for determining
the script type.
|
BurninDestinationSettings |
withFontSize(Integer fontSize)
A positive integer indicates the exact font size in points.
|
BurninDestinationSettings |
withOutlineColor(BurninSubtitleOutlineColor outlineColor)
Specifies font outline color.
|
BurninDestinationSettings |
withOutlineColor(String outlineColor)
Specifies font outline color.
|
BurninDestinationSettings |
withOutlineSize(Integer outlineSize)
Specifies font outline size in pixels.
|
BurninDestinationSettings |
withShadowColor(BurninSubtitleShadowColor shadowColor)
Specifies the color of the shadow cast by the captions.
|
BurninDestinationSettings |
withShadowColor(String shadowColor)
Specifies the color of the shadow cast by the captions.
|
BurninDestinationSettings |
withShadowOpacity(Integer shadowOpacity)
Specifies the opacity of the shadow.
|
BurninDestinationSettings |
withShadowXOffset(Integer shadowXOffset)
Specifies the horizontal offset of the shadow relative to the captions in pixels.
|
BurninDestinationSettings |
withShadowYOffset(Integer shadowYOffset)
Specifies the vertical offset of the shadow relative to the captions in pixels.
|
BurninDestinationSettings |
withTeletextSpacing(BurninSubtitleTeletextSpacing teletextSpacing)
Only applies to jobs with input captions in Teletext or STL formats.
|
BurninDestinationSettings |
withTeletextSpacing(String teletextSpacing)
Only applies to jobs with input captions in Teletext or STL formats.
|
BurninDestinationSettings |
withXPosition(Integer xPosition)
Specifies the horizontal position of the caption relative to the left side of the output in pixels.
|
BurninDestinationSettings |
withYPosition(Integer yPosition)
Specifies the vertical position of the caption relative to the top of the output in pixels.
|
public void setAlignment(String alignment)
alignment
- If no explicit x_position or y_position is provided, setting alignment to centered will place the captions
at the bottom center of the output. Similarly, setting a left alignment will align captions to the bottom
left of the output. If x and y positions are given in conjunction with the alignment parameter, the font
will be justified (either left or centered) relative to those coordinates. This option is not valid for
source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by
the caption stream. All burn-in and DVB-Sub font settings must match.BurninSubtitleAlignment
public String getAlignment()
BurninSubtitleAlignment
public BurninDestinationSettings withAlignment(String alignment)
alignment
- If no explicit x_position or y_position is provided, setting alignment to centered will place the captions
at the bottom center of the output. Similarly, setting a left alignment will align captions to the bottom
left of the output. If x and y positions are given in conjunction with the alignment parameter, the font
will be justified (either left or centered) relative to those coordinates. This option is not valid for
source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by
the caption stream. All burn-in and DVB-Sub font settings must match.BurninSubtitleAlignment
public BurninDestinationSettings withAlignment(BurninSubtitleAlignment alignment)
alignment
- If no explicit x_position or y_position is provided, setting alignment to centered will place the captions
at the bottom center of the output. Similarly, setting a left alignment will align captions to the bottom
left of the output. If x and y positions are given in conjunction with the alignment parameter, the font
will be justified (either left or centered) relative to those coordinates. This option is not valid for
source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by
the caption stream. All burn-in and DVB-Sub font settings must match.BurninSubtitleAlignment
public void setBackgroundColor(String backgroundColor)
backgroundColor
- Specifies the color of the rectangle behind the captions. All burn-in and DVB-Sub font settings must
match.BurninSubtitleBackgroundColor
public String getBackgroundColor()
BurninSubtitleBackgroundColor
public BurninDestinationSettings withBackgroundColor(String backgroundColor)
backgroundColor
- Specifies the color of the rectangle behind the captions. All burn-in and DVB-Sub font settings must
match.BurninSubtitleBackgroundColor
public BurninDestinationSettings withBackgroundColor(BurninSubtitleBackgroundColor backgroundColor)
backgroundColor
- Specifies the color of the rectangle behind the captions. All burn-in and DVB-Sub font settings must
match.BurninSubtitleBackgroundColor
public void setBackgroundOpacity(Integer backgroundOpacity)
backgroundOpacity
- Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. Leaving this parameter
blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.public Integer getBackgroundOpacity()
public BurninDestinationSettings withBackgroundOpacity(Integer backgroundOpacity)
backgroundOpacity
- Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. Leaving this parameter
blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.public void setFontColor(String fontColor)
fontColor
- Specifies the color of the burned-in captions. This option is not valid for source captions that are STL,
608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in
and DVB-Sub font settings must match.BurninSubtitleFontColor
public String getFontColor()
BurninSubtitleFontColor
public BurninDestinationSettings withFontColor(String fontColor)
fontColor
- Specifies the color of the burned-in captions. This option is not valid for source captions that are STL,
608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in
and DVB-Sub font settings must match.BurninSubtitleFontColor
public BurninDestinationSettings withFontColor(BurninSubtitleFontColor fontColor)
fontColor
- Specifies the color of the burned-in captions. This option is not valid for source captions that are STL,
608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in
and DVB-Sub font settings must match.BurninSubtitleFontColor
public void setFontOpacity(Integer fontOpacity)
fontOpacity
- Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent. All burn-in and DVB-Sub
font settings must match.public Integer getFontOpacity()
public BurninDestinationSettings withFontOpacity(Integer fontOpacity)
fontOpacity
- Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent. All burn-in and DVB-Sub
font settings must match.public void setFontResolution(Integer fontResolution)
fontResolution
- Font resolution in DPI (dots per inch); default is 96 dpi. All burn-in and DVB-Sub font settings must
match.public Integer getFontResolution()
public BurninDestinationSettings withFontResolution(Integer fontResolution)
fontResolution
- Font resolution in DPI (dots per inch); default is 96 dpi. All burn-in and DVB-Sub font settings must
match.public void setFontScript(String fontScript)
fontScript
- Provide the font script, using an ISO 15924 script code, if the LanguageCode is not sufficient for
determining the script type. Where LanguageCode or CustomLanguageCode is sufficient, use "AUTOMATIC" or
leave unset. This is used to help determine the appropriate font for rendering burn-in captions.FontScript
public String getFontScript()
FontScript
public BurninDestinationSettings withFontScript(String fontScript)
fontScript
- Provide the font script, using an ISO 15924 script code, if the LanguageCode is not sufficient for
determining the script type. Where LanguageCode or CustomLanguageCode is sufficient, use "AUTOMATIC" or
leave unset. This is used to help determine the appropriate font for rendering burn-in captions.FontScript
public BurninDestinationSettings withFontScript(FontScript fontScript)
fontScript
- Provide the font script, using an ISO 15924 script code, if the LanguageCode is not sufficient for
determining the script type. Where LanguageCode or CustomLanguageCode is sufficient, use "AUTOMATIC" or
leave unset. This is used to help determine the appropriate font for rendering burn-in captions.FontScript
public void setFontSize(Integer fontSize)
fontSize
- A positive integer indicates the exact font size in points. Set to 0 for automatic font size selection.
All burn-in and DVB-Sub font settings must match.public Integer getFontSize()
public BurninDestinationSettings withFontSize(Integer fontSize)
fontSize
- A positive integer indicates the exact font size in points. Set to 0 for automatic font size selection.
All burn-in and DVB-Sub font settings must match.public void setOutlineColor(String outlineColor)
outlineColor
- Specifies font outline color. This option is not valid for source captions that are either 608/embedded or
teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub
font settings must match.BurninSubtitleOutlineColor
public String getOutlineColor()
BurninSubtitleOutlineColor
public BurninDestinationSettings withOutlineColor(String outlineColor)
outlineColor
- Specifies font outline color. This option is not valid for source captions that are either 608/embedded or
teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub
font settings must match.BurninSubtitleOutlineColor
public BurninDestinationSettings withOutlineColor(BurninSubtitleOutlineColor outlineColor)
outlineColor
- Specifies font outline color. This option is not valid for source captions that are either 608/embedded or
teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub
font settings must match.BurninSubtitleOutlineColor
public void setOutlineSize(Integer outlineSize)
outlineSize
- Specifies font outline size in pixels. This option is not valid for source captions that are either
608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in
and DVB-Sub font settings must match.public Integer getOutlineSize()
public BurninDestinationSettings withOutlineSize(Integer outlineSize)
outlineSize
- Specifies font outline size in pixels. This option is not valid for source captions that are either
608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in
and DVB-Sub font settings must match.public void setShadowColor(String shadowColor)
shadowColor
- Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub font settings must match.BurninSubtitleShadowColor
public String getShadowColor()
BurninSubtitleShadowColor
public BurninDestinationSettings withShadowColor(String shadowColor)
shadowColor
- Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub font settings must match.BurninSubtitleShadowColor
public BurninDestinationSettings withShadowColor(BurninSubtitleShadowColor shadowColor)
shadowColor
- Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub font settings must match.BurninSubtitleShadowColor
public void setShadowOpacity(Integer shadowOpacity)
shadowOpacity
- Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter blank is
equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.public Integer getShadowOpacity()
public BurninDestinationSettings withShadowOpacity(Integer shadowOpacity)
shadowOpacity
- Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter blank is
equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.public void setShadowXOffset(Integer shadowXOffset)
shadowXOffset
- Specifies the horizontal offset of the shadow relative to the captions in pixels. A value of -2 would
result in a shadow offset 2 pixels to the left. All burn-in and DVB-Sub font settings must match.public Integer getShadowXOffset()
public BurninDestinationSettings withShadowXOffset(Integer shadowXOffset)
shadowXOffset
- Specifies the horizontal offset of the shadow relative to the captions in pixels. A value of -2 would
result in a shadow offset 2 pixels to the left. All burn-in and DVB-Sub font settings must match.public void setShadowYOffset(Integer shadowYOffset)
shadowYOffset
- Specifies the vertical offset of the shadow relative to the captions in pixels. A value of -2 would result
in a shadow offset 2 pixels above the text. All burn-in and DVB-Sub font settings must match.public Integer getShadowYOffset()
public BurninDestinationSettings withShadowYOffset(Integer shadowYOffset)
shadowYOffset
- Specifies the vertical offset of the shadow relative to the captions in pixels. A value of -2 would result
in a shadow offset 2 pixels above the text. All burn-in and DVB-Sub font settings must match.public void setTeletextSpacing(String teletextSpacing)
teletextSpacing
- Only applies to jobs with input captions in Teletext or STL formats. Specify whether the spacing between
letters in your captions is set by the captions grid or varies depending on letter width. Choose fixed
grid to conform to the spacing specified in the captions file more accurately. Choose proportional to make
the text easier to read if the captions are closed caption.BurninSubtitleTeletextSpacing
public String getTeletextSpacing()
BurninSubtitleTeletextSpacing
public BurninDestinationSettings withTeletextSpacing(String teletextSpacing)
teletextSpacing
- Only applies to jobs with input captions in Teletext or STL formats. Specify whether the spacing between
letters in your captions is set by the captions grid or varies depending on letter width. Choose fixed
grid to conform to the spacing specified in the captions file more accurately. Choose proportional to make
the text easier to read if the captions are closed caption.BurninSubtitleTeletextSpacing
public BurninDestinationSettings withTeletextSpacing(BurninSubtitleTeletextSpacing teletextSpacing)
teletextSpacing
- Only applies to jobs with input captions in Teletext or STL formats. Specify whether the spacing between
letters in your captions is set by the captions grid or varies depending on letter width. Choose fixed
grid to conform to the spacing specified in the captions file more accurately. Choose proportional to make
the text easier to read if the captions are closed caption.BurninSubtitleTeletextSpacing
public void setXPosition(Integer xPosition)
xPosition
- Specifies the horizontal position of the caption relative to the left side of the output in pixels. A
value of 10 would result in the captions starting 10 pixels from the left of the output. If no explicit
x_position is provided, the horizontal caption position will be determined by the alignment parameter.
This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings
are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.public Integer getXPosition()
public BurninDestinationSettings withXPosition(Integer xPosition)
xPosition
- Specifies the horizontal position of the caption relative to the left side of the output in pixels. A
value of 10 would result in the captions starting 10 pixels from the left of the output. If no explicit
x_position is provided, the horizontal caption position will be determined by the alignment parameter.
This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings
are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.public void setYPosition(Integer yPosition)
yPosition
- Specifies the vertical position of the caption relative to the top of the output in pixels. A value of 10
would result in the captions starting 10 pixels from the top of the output. If no explicit y_position is
provided, the caption will be positioned towards the bottom of the output. This option is not valid for
source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by
the caption stream. All burn-in and DVB-Sub font settings must match.public Integer getYPosition()
public BurninDestinationSettings withYPosition(Integer yPosition)
yPosition
- Specifies the vertical position of the caption relative to the top of the output in pixels. A value of 10
would result in the captions starting 10 pixels from the top of the output. If no explicit y_position is
provided, the caption will be positioned towards the bottom of the output. This option is not valid for
source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by
the caption stream. All burn-in and DVB-Sub font settings must match.public String toString()
toString
in class Object
Object.toString()
public BurninDestinationSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.