@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CaptionDescription extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
CaptionDescription() |
Modifier and Type | Method and Description |
---|---|
CaptionDescription |
clone() |
boolean |
equals(Object obj) |
String |
getCaptionSelectorName()
Specifies which "Caption Selector":#inputs-caption_selector to use from each input when generating captions.
|
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 |
setCaptionSelectorName(String captionSelectorName)
Specifies which "Caption Selector":#inputs-caption_selector to use from each input when generating captions.
|
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.
|
CaptionDescription |
withCaptionSelectorName(String captionSelectorName)
Specifies which "Caption Selector":#inputs-caption_selector to use from each input when generating captions.
|
CaptionDescription |
withCustomLanguageCode(String customLanguageCode)
Specify the language for this captions output track.
|
CaptionDescription |
withDestinationSettings(CaptionDestinationSettings destinationSettings)
Settings related to one captions tab on the MediaConvert console.
|
CaptionDescription |
withLanguageCode(LanguageCode languageCode)
Specify the language of this captions output track.
|
CaptionDescription |
withLanguageCode(String languageCode)
Specify the language of this captions output track.
|
CaptionDescription |
withLanguageDescription(String languageDescription)
Specify a label for this set of output captions.
|
public void setCaptionSelectorName(String captionSelectorName)
captionSelectorName
- Specifies which "Caption Selector":#inputs-caption_selector to use from each input when generating
captions. The name should be of the format "Caption Selector public String getCaptionSelectorName()
public CaptionDescription withCaptionSelectorName(String captionSelectorName)
captionSelectorName
- Specifies which "Caption Selector":#inputs-caption_selector to use from each input when generating
captions. The name should be of the format "Caption Selector 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 CaptionDescription 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. 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 CaptionDescription withDestinationSettings(CaptionDestinationSettings destinationSettings)
destinationSettings
- Settings related to one captions tab on the MediaConvert 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 CaptionDescription 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 CaptionDescription 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 CaptionDescription 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 CaptionDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.