public static interface CreatePresetRequest.Builder extends ElasticTranscoderRequest.Builder, CopyableBuilder<CreatePresetRequest.Builder,CreatePresetRequest>
Modifier and Type | Method and Description |
---|---|
CreatePresetRequest.Builder |
audio(AudioParameters audio)
A section of the request body that specifies the audio parameters.
|
default CreatePresetRequest.Builder |
audio(Consumer<AudioParameters.Builder> audio)
A section of the request body that specifies the audio parameters.
|
CreatePresetRequest.Builder |
container(String container)
The container type for the output file.
|
CreatePresetRequest.Builder |
description(String description)
A description of the preset.
|
CreatePresetRequest.Builder |
name(String name)
The name of the preset.
|
CreatePresetRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
default CreatePresetRequest.Builder |
thumbnails(Consumer<Thumbnails.Builder> thumbnails)
A section of the request body that specifies the thumbnail parameters, if any.
|
CreatePresetRequest.Builder |
thumbnails(Thumbnails thumbnails)
A section of the request body that specifies the thumbnail parameters, if any.
|
default CreatePresetRequest.Builder |
video(Consumer<VideoParameters.Builder> video)
A section of the request body that specifies the video parameters.
|
CreatePresetRequest.Builder |
video(VideoParameters video)
A section of the request body that specifies the video parameters.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
CreatePresetRequest.Builder name(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.CreatePresetRequest.Builder description(String description)
A description of the preset.
description
- A description of the preset.CreatePresetRequest.Builder container(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
.CreatePresetRequest.Builder video(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.default CreatePresetRequest.Builder video(Consumer<VideoParameters.Builder> video)
A section of the request body that specifies the video parameters.
This is a convenience that creates an instance of theVideoParameters.Builder
avoiding the need to
create one manually via VideoParameters.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to video(VideoParameters)
.video
- a consumer that will call methods on VideoParameters.Builder
video(VideoParameters)
CreatePresetRequest.Builder audio(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.default CreatePresetRequest.Builder audio(Consumer<AudioParameters.Builder> audio)
A section of the request body that specifies the audio parameters.
This is a convenience that creates an instance of theAudioParameters.Builder
avoiding the need to
create one manually via AudioParameters.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to audio(AudioParameters)
.audio
- a consumer that will call methods on AudioParameters.Builder
audio(AudioParameters)
CreatePresetRequest.Builder thumbnails(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.default CreatePresetRequest.Builder thumbnails(Consumer<Thumbnails.Builder> thumbnails)
A section of the request body that specifies the thumbnail parameters, if any.
This is a convenience that creates an instance of theThumbnails.Builder
avoiding the need to create
one manually via Thumbnails.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to thumbnails(Thumbnails)
.thumbnails
- a consumer that will call methods on Thumbnails.Builder
thumbnails(Thumbnails)
CreatePresetRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.