|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elastictranscoder.model.Preset
public class 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.
Constructor Summary | |
---|---|
Preset()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
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 |
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 |
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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Preset()
Method Detail |
---|
public String getId()
Constraints:
Pattern: ^\d{13}-\w{6}$
public void setId(String id)
Constraints:
Pattern: ^\d{13}-\w{6}$
id
- Identifier for the new preset. You use this value to get settings for
the preset or to delete it.public Preset withId(String id)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^\d{13}-\w{6}$
id
- Identifier for the new preset. You use this value to get settings for
the preset or to delete it.
public String getName()
Constraints:
Length: 1 - 40
public void setName(String name)
Constraints:
Length: 1 - 40
name
- The name of the preset.public Preset withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 40
name
- The name of the preset.
public String getDescription()
Constraints:
Length: 0 - 255
public void setDescription(String description)
Constraints:
Length: 0 - 255
description
- A description of the preset.public Preset withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 255
description
- A description of the preset.
public String getContainer()
mp4
.
Constraints:
Pattern: (^mp4$)|(^ts$)|(^webm$)
mp4
.public void setContainer(String container)
mp4
.
Constraints:
Pattern: (^mp4$)|(^ts$)|(^webm$)
container
- The container type for the output file. This value must be
mp4
.public Preset withContainer(String container)
mp4
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (^mp4$)|(^ts$)|(^webm$)
container
- The container type for the output file. This value must be
mp4
.
public AudioParameters getAudio()
public void setAudio(AudioParameters audio)
audio
- A section of the response body that provides information about the
audio preset values.public Preset withAudio(AudioParameters audio)
Returns a reference to this object so that method calls can be chained together.
audio
- A section of the response body that provides information about the
audio preset values.
public VideoParameters getVideo()
public void setVideo(VideoParameters video)
video
- A section of the response body that provides information about the
video preset values.public Preset withVideo(VideoParameters video)
Returns a reference to this object so that method calls can be chained together.
video
- A section of the response body that provides information about the
video preset values.
public Thumbnails getThumbnails()
public void setThumbnails(Thumbnails thumbnails)
thumbnails
- A section of the response body that provides information about the
thumbnail preset values, if any.public Preset withThumbnails(Thumbnails thumbnails)
Returns a reference to this object so that method calls can be chained together.
thumbnails
- A section of the response body that provides information about the
thumbnail preset values, if any.
public String getType()
System
) or a preset that you have defined
(Custom
).
Constraints:
Pattern: (^System$)|(^Custom$)
System
) or a preset that you have defined
(Custom
).public void setType(String type)
System
) or a preset that you have defined
(Custom
).
Constraints:
Pattern: (^System$)|(^Custom$)
type
- Whether the preset is a default preset provided by Elastic Transcoder
(System
) or a preset that you have defined
(Custom
).public Preset withType(String type)
System
) or a preset that you have defined
(Custom
).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (^System$)|(^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 int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |