public class CreatePresetRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
The CreatePresetRequest
structure.
Modifier and Type | Field and Description |
---|---|
private AudioParameters |
audio
A section of the request body that specifies the audio parameters.
|
private java.lang.String |
container
The container type for the output file.
|
private java.lang.String |
description
A description of the preset.
|
private java.lang.String |
name
The name of the preset.
|
private Thumbnails |
thumbnails
A section of the request body that specifies the thumbnail parameters, if
any.
|
private VideoParameters |
video
A section of the request body that specifies the video parameters.
|
NOOP
Constructor and Description |
---|
CreatePresetRequest() |
Modifier and Type | Method and Description |
---|---|
CreatePresetRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
AudioParameters |
getAudio()
A section of the request body that specifies the audio parameters.
|
java.lang.String |
getContainer()
The container type for the output file.
|
java.lang.String |
getDescription()
A description of the preset.
|
java.lang.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(java.lang.String container)
The container type for the output file.
|
void |
setDescription(java.lang.String description)
A description of the preset.
|
void |
setName(java.lang.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.
|
java.lang.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(java.lang.String container)
The container type for the output file.
|
CreatePresetRequest |
withDescription(java.lang.String description)
A description of the preset.
|
CreatePresetRequest |
withName(java.lang.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, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String name
The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.
private java.lang.String description
A description of the preset.
private java.lang.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
.
private VideoParameters video
A section of the request body that specifies the video parameters.
private AudioParameters audio
A section of the request body that specifies the audio parameters.
private Thumbnails thumbnails
A section of the request body that specifies the thumbnail parameters, if any.
public void setName(java.lang.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 java.lang.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(java.lang.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(java.lang.String description)
A description of the preset.
description
- A description of the preset.public java.lang.String getDescription()
A description of the preset.
public CreatePresetRequest withDescription(java.lang.String description)
A description of the preset.
description
- A description of the preset.public void setContainer(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreatePresetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()