Class CreatePresetRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
The CreatePresetRequest
structure.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
getAudio()
A section of the request body that specifies the audio parameters.The container type for the output file.A description of the preset.getName()
The name of the preset.A section of the request body that specifies the thumbnail parameters, if any.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
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.toString()
Returns a string representation of this object; useful for testing and debugging.withAudio
(AudioParameters audio) A section of the request body that specifies the audio parameters.withContainer
(String container) The container type for the output file.withDescription
(String description) A description of the preset.The name of the preset.withThumbnails
(Thumbnails thumbnails) A section of the request body that specifies the thumbnail parameters, if any.withVideo
(VideoParameters video) A section of the request body that specifies the video parameters.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
CreatePresetRequest
public CreatePresetRequest()
-
-
Method Details
-
setName
The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.
- Parameters:
name
- The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.
-
getName
The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.
- Returns:
- The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.
-
withName
The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.
- Parameters:
name
- The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
A description of the preset.
- Parameters:
description
- A description of the preset.
-
getDescription
A description of the preset.
- Returns:
- A description of the preset.
-
withDescription
A description of the preset.
- Parameters:
description
- A description of the preset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setContainer
The container type for the output file. Valid values include
flac
,flv
,fmp4
,gif
,mp3
,mp4
,mpg
,mxf
,oga
,ogg
,ts
, andwebm
.- Parameters:
container
- The container type for the output file. Valid values includeflac
,flv
,fmp4
,gif
,mp3
,mp4
,mpg
,mxf
,oga
,ogg
,ts
, andwebm
.
-
getContainer
The container type for the output file. Valid values include
flac
,flv
,fmp4
,gif
,mp3
,mp4
,mpg
,mxf
,oga
,ogg
,ts
, andwebm
.- Returns:
- The container type for the output file. Valid values include
flac
,flv
,fmp4
,gif
,mp3
,mp4
,mpg
,mxf
,oga
,ogg
,ts
, andwebm
.
-
withContainer
The container type for the output file. Valid values include
flac
,flv
,fmp4
,gif
,mp3
,mp4
,mpg
,mxf
,oga
,ogg
,ts
, andwebm
.- Parameters:
container
- The container type for the output file. Valid values includeflac
,flv
,fmp4
,gif
,mp3
,mp4
,mpg
,mxf
,oga
,ogg
,ts
, andwebm
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVideo
A section of the request body that specifies the video parameters.
- Parameters:
video
- A section of the request body that specifies the video parameters.
-
getVideo
A section of the request body that specifies the video parameters.
- Returns:
- A section of the request body that specifies the video parameters.
-
withVideo
A section of the request body that specifies the video parameters.
- Parameters:
video
- A section of the request body that specifies the video parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAudio
A section of the request body that specifies the audio parameters.
- Parameters:
audio
- A section of the request body that specifies the audio parameters.
-
getAudio
A section of the request body that specifies the audio parameters.
- Returns:
- A section of the request body that specifies the audio parameters.
-
withAudio
A section of the request body that specifies the audio parameters.
- Parameters:
audio
- A section of the request body that specifies the audio parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setThumbnails
A section of the request body that specifies the thumbnail parameters, if any.
- Parameters:
thumbnails
- A section of the request body that specifies the thumbnail parameters, if any.
-
getThumbnails
A section of the request body that specifies the thumbnail parameters, if any.
- Returns:
- A section of the request body that specifies the thumbnail parameters, if any.
-
withThumbnails
A section of the request body that specifies the thumbnail parameters, if any.
- Parameters:
thumbnails
- A section of the request body that specifies the thumbnail parameters, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-