Interface CreatePresetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreatePresetRequest.Builder,
,CreatePresetRequest> ElasticTranscoderRequest.Builder
,SdkBuilder<CreatePresetRequest.Builder,
,CreatePresetRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreatePresetRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreatePresetRequest.Builder
audio
(Consumer<AudioParameters.Builder> audio) A section of the request body that specifies the audio parameters.audio
(AudioParameters audio) A section of the request body that specifies the audio parameters.The container type for the output file.description
(String description) A description of the preset.The name of the preset.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) 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.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.video
(VideoParameters video) A section of the request body that specifies the video parameters.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.elastictranscoder.model.ElasticTranscoderRequest.Builder
build
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
-
name
The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.
- Parameters:
name
- The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.- 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.
-
video
A section of the request body that specifies the video parameters.
- Parameters:
video
- A section of the request body that specifies the video parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
video
A section of the request body that specifies the video parameters.
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:
-
audio
A section of the request body that specifies the audio parameters.
- Parameters:
audio
- A section of the request body that specifies the audio parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audio
A section of the request body that specifies the audio parameters.
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:
-
thumbnails
A section of the request body that specifies the thumbnail parameters, if any.
- Parameters:
thumbnails
- A section of the request body that specifies the thumbnail parameters, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thumbnails
A section of the request body that specifies the thumbnail parameters, 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:
-
overrideConfiguration
CreatePresetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreatePresetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-