Interface Preset.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Preset.Builder,
,Preset> SdkBuilder<Preset.Builder,
,Preset> SdkPojo
- Enclosing class:
Preset
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) for the preset.default Preset.Builder
audio
(Consumer<AudioParameters.Builder> audio) A section of the response body that provides information about the audio preset values.audio
(AudioParameters audio) A section of the response body that provides information about the audio preset values.The container type for the output file.description
(String description) A description of the preset.Identifier for the new preset.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.thumbnails
(Thumbnails thumbnails) A section of the response body that provides information about the thumbnail preset values, if any.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.video
(VideoParameters video) A section of the response body that provides information about the video preset values.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
id
Identifier for the new preset. You use this value to get settings for the preset or to delete it.
- Parameters:
id
- Identifier for the new preset. You use this value to get settings for the preset or to delete it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) for the preset.
- Parameters:
arn
- The Amazon Resource Name (ARN) for the preset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the preset.
- Parameters:
name
- The name of the preset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
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.
-
container
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.
-
audio
A section of the response body that provides information about the audio preset values.
- Parameters:
audio
- A section of the response body that provides information about the audio preset values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audio
A section of the response body that provides information about the audio preset values.
This is a convenience method that creates an instance of theAudioParameters.Builder
avoiding the need to create one manually viaAudioParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaudio(AudioParameters)
.- Parameters:
audio
- a consumer that will call methods onAudioParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
video
A section of the response body that provides information about the video preset values.
- Parameters:
video
- A section of the response body that provides information about the video preset values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
video
A section of the response body that provides information about the video preset values.
This is a convenience method that creates an instance of theVideoParameters.Builder
avoiding the need to create one manually viaVideoParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovideo(VideoParameters)
.- Parameters:
video
- a consumer that will call methods onVideoParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
thumbnails
A section of the response body that provides information about the thumbnail preset values, if any.
- Parameters:
thumbnails
- A section of the response body that provides information about the thumbnail preset values, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thumbnails
A section of the response body that provides information about the thumbnail preset values, if any.
This is a convenience method that creates an instance of theThumbnails.Builder
avoiding the need to create one manually viaThumbnails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tothumbnails(Thumbnails)
.- Parameters:
thumbnails
- a consumer that will call methods onThumbnails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Whether the preset is a default preset provided by Elastic Transcoder (
System
) or a preset that you have defined (Custom
).- Parameters:
type
- Whether the preset is a default preset provided by Elastic Transcoder (System
) or a preset that you have defined (Custom
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-