@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CaptionSource extends Object implements Serializable, Cloneable, StructuredPojo
A source file for the input sidecar captions used during the transcoding process.
Constructor and Description |
---|
CaptionSource() |
Modifier and Type | Method and Description |
---|---|
CaptionSource |
clone() |
boolean |
equals(Object obj) |
Encryption |
getEncryption()
The encryption settings, if any, that Elastic Transcoder needs to decyrpt your caption sources, or that you want
Elastic Transcoder to apply to your caption sources.
|
String |
getKey()
The name of the sidecar caption file that you want Elastic Transcoder to include in the output file.
|
String |
getLabel()
The label of the caption shown in the player when choosing a language.
|
String |
getLanguage()
A string that specifies the language of the caption.
|
String |
getTimeOffset()
For clip generation or captions that do not start at the same time as the associated video file, the
TimeOffset tells Elastic Transcoder how much of the video to encode before including captions. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEncryption(Encryption encryption)
The encryption settings, if any, that Elastic Transcoder needs to decyrpt your caption sources, or that you want
Elastic Transcoder to apply to your caption sources.
|
void |
setKey(String key)
The name of the sidecar caption file that you want Elastic Transcoder to include in the output file.
|
void |
setLabel(String label)
The label of the caption shown in the player when choosing a language.
|
void |
setLanguage(String language)
A string that specifies the language of the caption.
|
void |
setTimeOffset(String timeOffset)
For clip generation or captions that do not start at the same time as the associated video file, the
TimeOffset tells Elastic Transcoder how much of the video to encode before including captions. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CaptionSource |
withEncryption(Encryption encryption)
The encryption settings, if any, that Elastic Transcoder needs to decyrpt your caption sources, or that you want
Elastic Transcoder to apply to your caption sources.
|
CaptionSource |
withKey(String key)
The name of the sidecar caption file that you want Elastic Transcoder to include in the output file.
|
CaptionSource |
withLabel(String label)
The label of the caption shown in the player when choosing a language.
|
CaptionSource |
withLanguage(String language)
A string that specifies the language of the caption.
|
CaptionSource |
withTimeOffset(String timeOffset)
For clip generation or captions that do not start at the same time as the associated video file, the
TimeOffset tells Elastic Transcoder how much of the video to encode before including captions. |
public void setKey(String key)
The name of the sidecar caption file that you want Elastic Transcoder to include in the output file.
key
- The name of the sidecar caption file that you want Elastic Transcoder to include in the output file.public String getKey()
The name of the sidecar caption file that you want Elastic Transcoder to include in the output file.
public CaptionSource withKey(String key)
The name of the sidecar caption file that you want Elastic Transcoder to include in the output file.
key
- The name of the sidecar caption file that you want Elastic Transcoder to include in the output file.public void setLanguage(String language)
A string that specifies the language of the caption. If you specified multiple inputs with captions, the caption language must match in order to be included in the output. Specify this as one of:
2-character ISO 639-1 code
3-character ISO 639-2 code
For more information on ISO language codes and language names, see the List of ISO 639-1 codes.
language
- A string that specifies the language of the caption. If you specified multiple inputs with captions, the
caption language must match in order to be included in the output. Specify this as one of:
2-character ISO 639-1 code
3-character ISO 639-2 code
For more information on ISO language codes and language names, see the List of ISO 639-1 codes.
public String getLanguage()
A string that specifies the language of the caption. If you specified multiple inputs with captions, the caption language must match in order to be included in the output. Specify this as one of:
2-character ISO 639-1 code
3-character ISO 639-2 code
For more information on ISO language codes and language names, see the List of ISO 639-1 codes.
2-character ISO 639-1 code
3-character ISO 639-2 code
For more information on ISO language codes and language names, see the List of ISO 639-1 codes.
public CaptionSource withLanguage(String language)
A string that specifies the language of the caption. If you specified multiple inputs with captions, the caption language must match in order to be included in the output. Specify this as one of:
2-character ISO 639-1 code
3-character ISO 639-2 code
For more information on ISO language codes and language names, see the List of ISO 639-1 codes.
language
- A string that specifies the language of the caption. If you specified multiple inputs with captions, the
caption language must match in order to be included in the output. Specify this as one of:
2-character ISO 639-1 code
3-character ISO 639-2 code
For more information on ISO language codes and language names, see the List of ISO 639-1 codes.
public void setTimeOffset(String timeOffset)
For clip generation or captions that do not start at the same time as the associated video file, the
TimeOffset
tells Elastic Transcoder how much of the video to encode before including captions.
Specify the TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss.
timeOffset
- For clip generation or captions that do not start at the same time as the associated video file, the
TimeOffset
tells Elastic Transcoder how much of the video to encode before including
captions.
Specify the TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss.
public String getTimeOffset()
For clip generation or captions that do not start at the same time as the associated video file, the
TimeOffset
tells Elastic Transcoder how much of the video to encode before including captions.
Specify the TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss.
TimeOffset
tells Elastic Transcoder how much of the video to encode before including
captions.
Specify the TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss.
public CaptionSource withTimeOffset(String timeOffset)
For clip generation or captions that do not start at the same time as the associated video file, the
TimeOffset
tells Elastic Transcoder how much of the video to encode before including captions.
Specify the TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss.
timeOffset
- For clip generation or captions that do not start at the same time as the associated video file, the
TimeOffset
tells Elastic Transcoder how much of the video to encode before including
captions.
Specify the TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss.
public void setLabel(String label)
The label of the caption shown in the player when choosing a language. We recommend that you put the caption language name here, in the language of the captions.
label
- The label of the caption shown in the player when choosing a language. We recommend that you put the
caption language name here, in the language of the captions.public String getLabel()
The label of the caption shown in the player when choosing a language. We recommend that you put the caption language name here, in the language of the captions.
public CaptionSource withLabel(String label)
The label of the caption shown in the player when choosing a language. We recommend that you put the caption language name here, in the language of the captions.
label
- The label of the caption shown in the player when choosing a language. We recommend that you put the
caption language name here, in the language of the captions.public void setEncryption(Encryption encryption)
The encryption settings, if any, that Elastic Transcoder needs to decyrpt your caption sources, or that you want Elastic Transcoder to apply to your caption sources.
encryption
- The encryption settings, if any, that Elastic Transcoder needs to decyrpt your caption sources, or that
you want Elastic Transcoder to apply to your caption sources.public Encryption getEncryption()
The encryption settings, if any, that Elastic Transcoder needs to decyrpt your caption sources, or that you want Elastic Transcoder to apply to your caption sources.
public CaptionSource withEncryption(Encryption encryption)
The encryption settings, if any, that Elastic Transcoder needs to decyrpt your caption sources, or that you want Elastic Transcoder to apply to your caption sources.
encryption
- The encryption settings, if any, that Elastic Transcoder needs to decyrpt your caption sources, or that
you want Elastic Transcoder to apply to your caption sources.public String toString()
toString
in class Object
Object.toString()
public CaptionSource 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.