@Generated(value="software.amazon.awssdk:codegen") public final 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the preset.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreatePresetRequest.Builder> |
serializableBuilderClass() |
Thumbnails |
thumbnails()
A section of the request body that specifies the thumbnail parameters, if any.
|
CreatePresetRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
VideoParameters |
video()
A section of the request body that specifies the video parameters.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.
public final String description()
A description of the preset.
public final 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 final VideoParameters video()
A section of the request body that specifies the video parameters.
public final AudioParameters audio()
A section of the request body that specifies the audio parameters.
public final Thumbnails thumbnails()
A section of the request body that specifies the thumbnail parameters, if any.
public CreatePresetRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreatePresetRequest.Builder,CreatePresetRequest>toBuilder in class ElasticTranscoderRequestpublic static CreatePresetRequest.Builder builder()
public static Class<? extends CreatePresetRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.