@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CaptionDescriptionPreset extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
CaptionDescriptionPreset() |
| Modifier and Type | Method and Description |
|---|---|
CaptionDescriptionPreset |
clone() |
boolean |
equals(Object obj) |
String |
getCustomLanguageCode()
Specify the language for this captions output track.
|
CaptionDestinationSettings |
getDestinationSettings()
Specific settings required by destination type.
|
String |
getLanguageCode()
Specify the language of this captions output track.
|
String |
getLanguageDescription()
Specify a label for this set of output captions.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCustomLanguageCode(String customLanguageCode)
Specify the language for this captions output track.
|
void |
setDestinationSettings(CaptionDestinationSettings destinationSettings)
Specific settings required by destination type.
|
void |
setLanguageCode(String languageCode)
Specify the language of this captions output track.
|
void |
setLanguageDescription(String languageDescription)
Specify a label for this set of output captions.
|
String |
toString()
Returns a string representation of this object.
|
CaptionDescriptionPreset |
withCustomLanguageCode(String customLanguageCode)
Specify the language for this captions output track.
|
CaptionDescriptionPreset |
withDestinationSettings(CaptionDestinationSettings destinationSettings)
Specific settings required by destination type.
|
CaptionDescriptionPreset |
withLanguageCode(LanguageCode languageCode)
Specify the language of this captions output track.
|
CaptionDescriptionPreset |
withLanguageCode(String languageCode)
Specify the language of this captions output track.
|
CaptionDescriptionPreset |
withLanguageDescription(String languageDescription)
Specify a label for this set of output captions.
|
public void setCustomLanguageCode(String customLanguageCode)
customLanguageCode - Specify the language for this captions output track. For most captions output formats, the encoder puts
this language information in the output captions metadata. If your output captions format is DVB-Sub or
Burn in, the encoder uses this language information when automatically selecting the font script for
rendering the captions text. For all outputs, you can use an ISO 639-2 or ISO 639-3 code. For streaming
outputs, you can also use any other code in the full RFC-5646 specification. Streaming outputs are those
that are in one of the following output groups: CMAF, DASH ISO, Apple HLS, or Microsoft Smooth Streaming.public String getCustomLanguageCode()
public CaptionDescriptionPreset withCustomLanguageCode(String customLanguageCode)
customLanguageCode - Specify the language for this captions output track. For most captions output formats, the encoder puts
this language information in the output captions metadata. If your output captions format is DVB-Sub or
Burn in, the encoder uses this language information when automatically selecting the font script for
rendering the captions text. For all outputs, you can use an ISO 639-2 or ISO 639-3 code. For streaming
outputs, you can also use any other code in the full RFC-5646 specification. Streaming outputs are those
that are in one of the following output groups: CMAF, DASH ISO, Apple HLS, or Microsoft Smooth Streaming.public void setDestinationSettings(CaptionDestinationSettings destinationSettings)
destinationSettings - Specific settings required by destination type. Note that burnin_destination_settings are not available if
the source of the caption data is Embedded or Teletext.public CaptionDestinationSettings getDestinationSettings()
public CaptionDescriptionPreset withDestinationSettings(CaptionDestinationSettings destinationSettings)
destinationSettings - Specific settings required by destination type. Note that burnin_destination_settings are not available if
the source of the caption data is Embedded or Teletext.public void setLanguageCode(String languageCode)
languageCode - Specify the language of this captions output track. For most captions output formats, the encoder puts
this language information in the output captions metadata. If your output captions format is DVB-Sub or
Burn in, the encoder uses this language information to choose the font language for rendering the captions
text.LanguageCodepublic String getLanguageCode()
LanguageCodepublic CaptionDescriptionPreset withLanguageCode(String languageCode)
languageCode - Specify the language of this captions output track. For most captions output formats, the encoder puts
this language information in the output captions metadata. If your output captions format is DVB-Sub or
Burn in, the encoder uses this language information to choose the font language for rendering the captions
text.LanguageCodepublic CaptionDescriptionPreset withLanguageCode(LanguageCode languageCode)
languageCode - Specify the language of this captions output track. For most captions output formats, the encoder puts
this language information in the output captions metadata. If your output captions format is DVB-Sub or
Burn in, the encoder uses this language information to choose the font language for rendering the captions
text.LanguageCodepublic void setLanguageDescription(String languageDescription)
languageDescription - Specify a label for this set of output captions. For example, "English", "Director commentary", or
"track_2". For streaming outputs, MediaConvert passes this information into destination manifests for
display on the end-viewer's player device. For outputs in other output groups, the service ignores this
setting.public String getLanguageDescription()
public CaptionDescriptionPreset withLanguageDescription(String languageDescription)
languageDescription - Specify a label for this set of output captions. For example, "English", "Director commentary", or
"track_2". For streaming outputs, MediaConvert passes this information into destination manifests for
display on the end-viewer's player device. For outputs in other output groups, the service ignores this
setting.public String toString()
toString in class ObjectObject.toString()public CaptionDescriptionPreset clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.