@Generated(value="software.amazon.awssdk:codegen") public final class Preset extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
Identifier for the new preset.
|
String |
name()
The name of the preset.
|
List<SdkField<?>> |
sdkFields() |
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() |
String |
toString()
Returns a string representation of this object.
|
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.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
Identifier for the new preset. You use this value to get settings for the preset or to delete it.
public final String arn()
The Amazon Resource Name (ARN) for the preset.
public final String name()
The name of the preset.
public final String description()
A description of the preset.
public final 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 final AudioParameters audio()
A section of the response body that provides information about the audio preset values.
public final VideoParameters video()
A section of the response body that provides information about the video preset values.
public final Thumbnails thumbnails()
A section of the response body that provides information about the thumbnail preset values, if any.
public final 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()
toBuilder in interface ToCopyableBuilder<Preset.Builder,Preset>public static Preset.Builder builder()
public static Class<? extends Preset.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.