@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()
Settings related to one captions tab on the MediaConvert console.
|
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)
Settings related to one captions tab on the MediaConvert console.
|
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)
Settings related to one captions tab on the MediaConvert console.
|
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
- Settings related to one captions tab on the MediaConvert console. In your job JSON, an instance of
captions DestinationSettings is equivalent to one captions tab in the console. Usually, one captions tab
corresponds to one output captions track. Depending on your output captions format, one tab might
correspond to a set of output captions tracks. For more information, see
https://docs.aws.amazon.com/mediaconvert/latest/ug/including-captions.html.public CaptionDestinationSettings getDestinationSettings()
public CaptionDescriptionPreset withDestinationSettings(CaptionDestinationSettings destinationSettings)
destinationSettings
- Settings related to one captions tab on the MediaConvert console. In your job JSON, an instance of
captions DestinationSettings is equivalent to one captions tab in the console. Usually, one captions tab
corresponds to one output captions track. Depending on your output captions format, one tab might
correspond to a set of output captions tracks. For more information, see
https://docs.aws.amazon.com/mediaconvert/latest/ug/including-captions.html.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.LanguageCode
public String getLanguageCode()
LanguageCode
public 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.LanguageCode
public 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.LanguageCode
public 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 Object
Object.toString()
public CaptionDescriptionPreset clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.