public class CreatePresetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The CreatePresetRequest
structure.
NOOP
Constructor and Description |
---|
CreatePresetRequest() |
Modifier and Type | Method and Description |
---|---|
CreatePresetRequest |
clone() |
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.
name
- The name of the preset. We recommend that the name be unique
within the AWS account, but uniqueness is not enforced.public String getName()
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)
The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.
name
- The name of the preset. We recommend that the name be unique
within the AWS account, but uniqueness is not enforced.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 CreatePresetRequest 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 CreatePresetRequest 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 setVideo(VideoParameters video)
A section of the request body that specifies the video parameters.
video
- A section of the request body that specifies the video parameters.public VideoParameters getVideo()
A section of the request body that specifies the video parameters.
public CreatePresetRequest withVideo(VideoParameters video)
A section of the request body that specifies the video parameters.
video
- A section of the request body that specifies the video parameters.public void setAudio(AudioParameters audio)
A section of the request body that specifies the audio parameters.
audio
- A section of the request body that specifies the audio parameters.public AudioParameters getAudio()
A section of the request body that specifies the audio parameters.
public CreatePresetRequest withAudio(AudioParameters audio)
A section of the request body that specifies the audio parameters.
audio
- A section of the request body that specifies the audio parameters.public void setThumbnails(Thumbnails thumbnails)
A section of the request body that specifies the thumbnail parameters, if any.
thumbnails
- A section of the request body that specifies the thumbnail
parameters, if any.public Thumbnails getThumbnails()
A section of the request body that specifies the thumbnail parameters, if any.
public CreatePresetRequest withThumbnails(Thumbnails thumbnails)
A section of the request body that specifies the thumbnail parameters, if any.
thumbnails
- A section of the request body that specifies the thumbnail
parameters, if any.public String toString()
toString
in class Object
Object.toString()
public CreatePresetRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.