@Generated(value="software.amazon.awssdk:codegen") public class CaptionSource extends Object implements StructuredPojo, ToCopyableBuilder<CaptionSource.Builder,CaptionSource>
A source file for the input sidecar captions used during the transcoding process.
Modifier and Type | Class and Description |
---|---|
static interface |
CaptionSource.Builder |
Modifier and Type | Method and Description |
---|---|
static CaptionSource.Builder |
builder() |
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.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
The name of the sidecar caption file that you want Elastic Transcoder to include in the output file.
|
String |
label()
The label of the caption shown in the player when choosing a language.
|
String |
language()
A string that specifies the language of the caption.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends CaptionSource.Builder> |
serializableBuilderClass() |
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. |
CaptionSource.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String key()
The name of the sidecar caption file that you want Elastic Transcoder to include in the output file.
public 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.
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 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
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 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 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.
public CaptionSource.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CaptionSource.Builder,CaptionSource>
public static CaptionSource.Builder builder()
public static Class<? extends CaptionSource.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.