@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Preset extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
Preset() |
Modifier and Type | Method and Description |
---|---|
Preset |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) for the preset.
|
AudioParameters |
getAudio()
A section of the response body that provides information about the audio preset values.
|
String |
getContainer()
The container type for the output file.
|
String |
getDescription()
A description of the preset.
|
String |
getId()
Identifier for the new preset.
|
String |
getName()
The name of the preset.
|
Thumbnails |
getThumbnails()
A section of the response body that provides information about the thumbnail preset values, if any.
|
String |
getType()
Whether the preset is a default preset provided by Elastic Transcoder (
System ) or a preset that you
have defined (Custom ). |
VideoParameters |
getVideo()
A section of the response body that provides information about the video preset values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) for the preset.
|
void |
setAudio(AudioParameters audio)
A section of the response body that provides information about the audio preset values.
|
void |
setContainer(String container)
The container type for the output file.
|
void |
setDescription(String description)
A description of the preset.
|
void |
setId(String id)
Identifier for the new preset.
|
void |
setName(String name)
The name of the preset.
|
void |
setThumbnails(Thumbnails thumbnails)
A section of the response body that provides information about the thumbnail preset values, if any.
|
void |
setType(String type)
Whether the preset is a default preset provided by Elastic Transcoder (
System ) or a preset that you
have defined (Custom ). |
void |
setVideo(VideoParameters video)
A section of the response body that provides information about the video preset values.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Preset |
withArn(String arn)
The Amazon Resource Name (ARN) for the preset.
|
Preset |
withAudio(AudioParameters audio)
A section of the response body that provides information about the audio preset values.
|
Preset |
withContainer(String container)
The container type for the output file.
|
Preset |
withDescription(String description)
A description of the preset.
|
Preset |
withId(String id)
Identifier for the new preset.
|
Preset |
withName(String name)
The name of the preset.
|
Preset |
withThumbnails(Thumbnails thumbnails)
A section of the response body that provides information about the thumbnail preset values, if any.
|
Preset |
withType(String type)
Whether the preset is a default preset provided by Elastic Transcoder (
System ) or a preset that you
have defined (Custom ). |
Preset |
withVideo(VideoParameters video)
A section of the response body that provides information about the video preset values.
|
public void setId(String id)
Identifier for the new preset. You use this value to get settings for the preset or to delete it.
id
- Identifier for the new preset. You use this value to get settings for the preset or to delete it.public String getId()
Identifier for the new preset. You use this value to get settings for the preset or to delete it.
public Preset withId(String id)
Identifier for the new preset. You use this value to get settings for the preset or to delete it.
id
- Identifier for the new preset. You use this value to get settings for the preset or to delete it.public void setArn(String arn)
The Amazon Resource Name (ARN) for the preset.
arn
- The Amazon Resource Name (ARN) for the preset.public String getArn()
The Amazon Resource Name (ARN) for the preset.
public Preset withArn(String arn)
The Amazon Resource Name (ARN) for the preset.
arn
- The Amazon Resource Name (ARN) for the preset.public void setName(String name)
The name of the preset.
name
- The name of the preset.public String getName()
The name of the preset.
public Preset withName(String name)
The name of the preset.
name
- The name of the preset.public void setDescription(String description)
A description of the preset.
description
- A description of the preset.public String getDescription()
A description of the preset.
public Preset withDescription(String description)
A description of the preset.
description
- A description of the preset.public void setContainer(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
.
container
- The container type for the output file. Valid values include flac
, flv
,
fmp4
, gif
, mp3
, mp4
, mpg
,
mxf
, oga
, ogg
, ts
, and webm
.public String getContainer()
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 Preset withContainer(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
.
container
- The container type for the output file. Valid values include flac
, flv
,
fmp4
, gif
, mp3
, mp4
, mpg
,
mxf
, oga
, ogg
, ts
, and webm
.public void setAudio(AudioParameters audio)
A section of the response body that provides information about the audio preset values.
audio
- A section of the response body that provides information about the audio preset values.public AudioParameters getAudio()
A section of the response body that provides information about the audio preset values.
public Preset withAudio(AudioParameters audio)
A section of the response body that provides information about the audio preset values.
audio
- A section of the response body that provides information about the audio preset values.public void setVideo(VideoParameters video)
A section of the response body that provides information about the video preset values.
video
- A section of the response body that provides information about the video preset values.public VideoParameters getVideo()
A section of the response body that provides information about the video preset values.
public Preset withVideo(VideoParameters video)
A section of the response body that provides information about the video preset values.
video
- A section of the response body that provides information about the video preset values.public void setThumbnails(Thumbnails thumbnails)
A section of the response body that provides information about the thumbnail preset values, if any.
thumbnails
- A section of the response body that provides information about the thumbnail preset values, if any.public Thumbnails getThumbnails()
A section of the response body that provides information about the thumbnail preset values, if any.
public Preset withThumbnails(Thumbnails thumbnails)
A section of the response body that provides information about the thumbnail preset values, if any.
thumbnails
- A section of the response body that provides information about the thumbnail preset values, if any.public void setType(String type)
Whether the preset is a default preset provided by Elastic Transcoder (System
) or a preset that you
have defined (Custom
).
type
- Whether the preset is a default preset provided by Elastic Transcoder (System
) or a preset
that you have defined (Custom
).public String getType()
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 withType(String type)
Whether the preset is a default preset provided by Elastic Transcoder (System
) or a preset that you
have defined (Custom
).
type
- Whether the preset is a default preset provided by Elastic Transcoder (System
) or a preset
that you have defined (Custom
).public String toString()
toString
in class Object
Object.toString()
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.