@Generated(value="software.amazon.awssdk:codegen") public class CreatePresetRequest extends ElasticTranscoderRequest implements ToCopyableBuilder<CreatePresetRequest.Builder,CreatePresetRequest>
The CreatePresetRequest
structure.
Modifier and Type | Class and Description |
---|---|
static interface |
CreatePresetRequest.Builder |
Modifier and Type | Method and Description |
---|---|
AudioParameters |
audio()
A section of the request body that specifies the audio parameters.
|
static CreatePresetRequest.Builder |
builder() |
String |
container()
The container type for the output file.
|
String |
description()
A description of the preset.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
name()
The name of the preset.
|
static Class<? extends CreatePresetRequest.Builder> |
serializableBuilderClass() |
Thumbnails |
thumbnails()
A section of the request body that specifies the thumbnail parameters, if any.
|
CreatePresetRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
VideoParameters |
video()
A section of the request body that specifies the video parameters.
|
requestOverrideConfig
copy
public String name()
The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.
public String description()
A description of the preset.
public 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
.
flac
, flv
,
fmp4
, gif
, mp3
, mp4
, mpg
,
mxf
, oga
, ogg
, ts
, and webm
.public VideoParameters video()
A section of the request body that specifies the video parameters.
public AudioParameters audio()
A section of the request body that specifies the audio parameters.
public Thumbnails thumbnails()
A section of the request body that specifies the thumbnail parameters, if any.
public CreatePresetRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreatePresetRequest.Builder,CreatePresetRequest>
toBuilder
in class ElasticTranscoderRequest
public static CreatePresetRequest.Builder builder()
public static Class<? extends CreatePresetRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.