|
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.AmazonWebServiceRequest
com.amazonaws.services.elastictranscoder.model.CreatePresetRequest
public class CreatePresetRequest
Container for the parameters to the CreatePreset operation
.
To create a preset, send a POST request to the /2012-09-25/presets
resource.
IMPORTANT:Elastic Transcoder checks the settings that you specify to ensure that they meet Elastic Transcoder requirements and to determine whether they comply with H.264 standards. If your settings are not valid for Elastic Transcoder, Elastic Transcoder returns an HTTP 400 response (ValidationException) and does not create the preset. If the settings are valid for Elastic Transcoder but aren't strictly compliant with the H.264 standard, Elastic Transcoder creates the preset and returns a warning message in the response. This helps you determine whether your settings comply with the H.264 standard while giving you greater flexibility with respect to the video that Elastic Transcoder produces.
Elastic Transcoder uses the H.264 video-compression format. For more information, see the International Telecommunication Union publication Recommendation ITU-T H.264: Advanced video coding for generic audiovisual services .
AmazonElasticTranscoder.createPreset(CreatePresetRequest)
,
Serialized FormConstructor Summary | |
---|---|
CreatePresetRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
AudioParameters |
getAudio()
A section of the request body that specifies the audio parameters. |
String |
getContainer()
The container type for the output file. |
String |
getDescription()
A description of the preset. |
String |
getName()
The name of the preset. |
Thumbnails |
getThumbnails()
A section of the request body that specifies the thumbnail parameters, if any. |
VideoParameters |
getVideo()
A section of the request body that specifies the video parameters. |
int |
hashCode()
|
void |
setAudio(AudioParameters audio)
A section of the request body that specifies the audio parameters. |
void |
setContainer(String container)
The container type for the output file. |
void |
setDescription(String description)
A description of the preset. |
void |
setName(String name)
The name of the preset. |
void |
setThumbnails(Thumbnails thumbnails)
A section of the request body that specifies the thumbnail parameters, if any. |
void |
setVideo(VideoParameters video)
A section of the request body that specifies the video parameters. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreatePresetRequest |
withAudio(AudioParameters audio)
A section of the request body that specifies the audio parameters. |
CreatePresetRequest |
withContainer(String container)
The container type for the output file. |
CreatePresetRequest |
withDescription(String description)
A description of the preset. |
CreatePresetRequest |
withName(String name)
The name of the preset. |
CreatePresetRequest |
withThumbnails(Thumbnails thumbnails)
A section of the request body that specifies the thumbnail parameters, if any. |
CreatePresetRequest |
withVideo(VideoParameters video)
A section of the request body that specifies the video parameters. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreatePresetRequest()
Method Detail |
---|
public String getName()
Constraints:
Length: 1 - 40
public void setName(String name)
Constraints:
Length: 1 - 40
name
- The name of the preset. We recommend that the name be unique within
the AWS account, but uniqueness is not enforced.public CreatePresetRequest 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. We recommend that the name be unique within
the AWS account, but uniqueness is not enforced.
public String getDescription()
Constraints:
Length: 0 - 255
public void setDescription(String description)
Constraints:
Length: 0 - 255
description
- A description of the preset.public CreatePresetRequest 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 CreatePresetRequest 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 VideoParameters getVideo()
public void setVideo(VideoParameters video)
video
- A section of the request body that specifies the video parameters.public CreatePresetRequest withVideo(VideoParameters video)
Returns a reference to this object so that method calls can be chained together.
video
- A section of the request body that specifies the video parameters.
public AudioParameters getAudio()
public void setAudio(AudioParameters audio)
audio
- A section of the request body that specifies the audio parameters.public CreatePresetRequest withAudio(AudioParameters audio)
Returns a reference to this object so that method calls can be chained together.
audio
- A section of the request body that specifies the audio parameters.
public Thumbnails getThumbnails()
public void setThumbnails(Thumbnails thumbnails)
thumbnails
- A section of the request body that specifies the thumbnail parameters,
if any.public CreatePresetRequest withThumbnails(Thumbnails thumbnails)
Returns a reference to this object so that method calls can be chained together.
thumbnails
- A section of the request body that specifies the thumbnail parameters,
if any.
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 |