@Generated(value="software.amazon.awssdk:codegen") public final class Preset extends Object implements StructuredPojo, ToCopyableBuilder<Preset.Builder,Preset>
Presets are templates that contain most of the settings for transcoding media files from one format to another. Elastic Transcoder includes some default presets for common formats, for example, several iPod and iPhone versions. You can also create your own presets for formats that aren't included among the default presets. You specify which preset you want to use when you create a job.
Modifier and Type | Class and Description |
---|---|
static interface |
Preset.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The Amazon Resource Name (ARN) for the preset.
|
AudioParameters |
audio()
A section of the response body that provides information about the audio preset values.
|
static Preset.Builder |
builder() |
String |
container()
The container type for the output file.
|
String |
description()
A description of the preset.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
Identifier for the new preset.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of the preset.
|
static Class<? extends Preset.Builder> |
serializableBuilderClass() |
Thumbnails |
thumbnails()
A section of the response body that provides information about the thumbnail preset values, if any.
|
Preset.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
type()
Whether the preset is a default preset provided by Elastic Transcoder (
System ) or a preset that you
have defined (Custom ). |
VideoParameters |
video()
A section of the response body that provides information about the video preset values.
|
copy
public String id()
Identifier for the new preset. You use this value to get settings for the preset or to delete it.
public String arn()
The Amazon Resource Name (ARN) for the preset.
public String name()
The name of the preset.
public String description()
A description of the preset.
public String container()
The container type for the output file. Valid values include flac
, flv
,
fmp4
, gif
, mp3
, mp4
, mpg
, mxf
,
oga
, ogg
, ts
, and webm
.
flac
, flv
,
fmp4
, gif
, mp3
, mp4
, mpg
,
mxf
, oga
, ogg
, ts
, and webm
.public AudioParameters audio()
A section of the response body that provides information about the audio preset values.
public VideoParameters video()
A section of the response body that provides information about the video preset values.
public Thumbnails thumbnails()
A section of the response body that provides information about the thumbnail preset values, if any.
public String type()
Whether the preset is a default preset provided by Elastic Transcoder (System
) or a preset that you
have defined (Custom
).
System
) or a preset
that you have defined (Custom
).public Preset.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Preset.Builder,Preset>
public static Preset.Builder builder()
public static Class<? extends Preset.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.