Interface Preset.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Preset.Builder,Preset>,SdkBuilder<Preset.Builder,Preset>,SdkPojo
- Enclosing class:
- Preset
public static interface Preset.Builder extends SdkPojo, CopyableBuilder<Preset.Builder,Preset>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Preset.Builderarn(String arn)The Amazon Resource Name (ARN) for the preset.default Preset.Builderaudio(Consumer<AudioParameters.Builder> audio)A section of the response body that provides information about the audio preset values.Preset.Builderaudio(AudioParameters audio)A section of the response body that provides information about the audio preset values.Preset.Buildercontainer(String container)The container type for the output file.Preset.Builderdescription(String description)A description of the preset.Preset.Builderid(String id)Identifier for the new preset.Preset.Buildername(String name)The name of the preset.default Preset.Builderthumbnails(Consumer<Thumbnails.Builder> thumbnails)A section of the response body that provides information about the thumbnail preset values, if any.Preset.Builderthumbnails(Thumbnails thumbnails)A section of the response body that provides information about the thumbnail preset values, if any.Preset.Buildertype(String type)Whether the preset is a default preset provided by Elastic Transcoder (System) or a preset that you have defined (Custom).default Preset.Buildervideo(Consumer<VideoParameters.Builder> video)A section of the response body that provides information about the video preset values.Preset.Buildervideo(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 Detail
-
id
Preset.Builder id(String 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
Preset.Builder arn(String 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
Preset.Builder name(String 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
Preset.Builder description(String 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
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, 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
Preset.Builder audio(AudioParameters 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
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 method that creates an instance of theAudioParameters.Builderavoiding the need to create one manually viaAudioParameters.builder().When the
Consumercompletes,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:
audio(AudioParameters)
-
video
Preset.Builder video(VideoParameters 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
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 method that creates an instance of theVideoParameters.Builderavoiding the need to create one manually viaVideoParameters.builder().When the
Consumercompletes,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:
video(VideoParameters)
-
thumbnails
Preset.Builder thumbnails(Thumbnails 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
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 method that creates an instance of theThumbnails.Builderavoiding the need to create one manually viaThumbnails.builder().When the
Consumercompletes,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:
thumbnails(Thumbnails)
-
type
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).- 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.
-
-