public static interface Preset.Builder extends CopyableBuilder<Preset.Builder,Preset>
| Modifier and Type | Method and Description |
|---|---|
Preset.Builder |
arn(String arn)
The Amazon Resource Name (ARN) for the preset.
|
Preset.Builder |
audio(AudioParameters audio)
A section of the response body that provides information about the audio preset values.
|
default Preset.Builder |
audio(Consumer<AudioParameters.Builder> audio)
A section of the response body that provides information about the audio preset values.
|
Preset.Builder |
container(String container)
The container type for the output file.
|
Preset.Builder |
description(String description)
A description of the preset.
|
Preset.Builder |
id(String id)
Identifier for the new preset.
|
Preset.Builder |
name(String name)
The name of the preset.
|
default Preset.Builder |
thumbnails(Consumer<Thumbnails.Builder> thumbnails)
A section of the response body that provides information about the thumbnail preset values, if any.
|
Preset.Builder |
thumbnails(Thumbnails thumbnails)
A section of the response body that provides information about the thumbnail preset values, if any.
|
Preset.Builder |
type(String type)
Whether the preset is a default preset provided by Elastic Transcoder (
System) or a preset that
you have defined (Custom). |
default Preset.Builder |
video(Consumer<VideoParameters.Builder> video)
A section of the response body that provides information about the video preset values.
|
Preset.Builder |
video(VideoParameters video)
A section of the response body that provides information about the video preset values.
|
copyapply, buildPreset.Builder id(String id)
Identifier for the new preset. You use this value to get settings for the preset or to delete it.
id - Identifier for the new preset. You use this value to get settings for the preset or to delete it.Preset.Builder arn(String arn)
The Amazon Resource Name (ARN) for the preset.
arn - The Amazon Resource Name (ARN) for the preset.Preset.Builder name(String name)
The name of the preset.
name - The name of the preset.Preset.Builder description(String description)
A description of the preset.
description - A description of the preset.Preset.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.Preset.Builder audio(AudioParameters audio)
A section of the response body that provides information about the audio preset values.
audio - A section of the response body that provides information about the audio preset values.default Preset.Builder audio(Consumer<AudioParameters.Builder> audio)
A section of the response body that provides information about the audio preset values.
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.Builderaudio(AudioParameters)Preset.Builder video(VideoParameters video)
A section of the response body that provides information about the video preset values.
video - A section of the response body that provides information about the video preset values.default Preset.Builder video(Consumer<VideoParameters.Builder> video)
A section of the response body that provides information about the video preset values.
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.Buildervideo(VideoParameters)Preset.Builder thumbnails(Thumbnails thumbnails)
A section of the response body that provides information about the thumbnail preset values, if any.
thumbnails - A section of the response body that provides information about the thumbnail preset values, if any.default Preset.Builder thumbnails(Consumer<Thumbnails.Builder> thumbnails)
A section of the response body that provides information about the thumbnail preset values, 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.Builderthumbnails(Thumbnails)Preset.Builder type(String type)
Whether the preset is a default preset provided by Elastic Transcoder (System) or a preset that
you have defined (Custom).
type - Whether the preset is a default preset provided by Elastic Transcoder (System) or a
preset that you have defined (Custom).Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.