Interface CreatePresetRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreatePresetRequest.Builder,CreatePresetRequest>,ElasticTranscoderRequest.Builder,SdkBuilder<CreatePresetRequest.Builder,CreatePresetRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreatePresetRequest
public static interface CreatePresetRequest.Builder extends ElasticTranscoderRequest.Builder, SdkPojo, CopyableBuilder<CreatePresetRequest.Builder,CreatePresetRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreatePresetRequest.Builderaudio(Consumer<AudioParameters.Builder> audio)A section of the request body that specifies the audio parameters.CreatePresetRequest.Builderaudio(AudioParameters audio)A section of the request body that specifies the audio parameters.CreatePresetRequest.Buildercontainer(String container)The container type for the output file.CreatePresetRequest.Builderdescription(String description)A description of the preset.CreatePresetRequest.Buildername(String name)The name of the preset.CreatePresetRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreatePresetRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreatePresetRequest.Builderthumbnails(Consumer<Thumbnails.Builder> thumbnails)A section of the request body that specifies the thumbnail parameters, if any.CreatePresetRequest.Builderthumbnails(Thumbnails thumbnails)A section of the request body that specifies the thumbnail parameters, if any.default CreatePresetRequest.Buildervideo(Consumer<VideoParameters.Builder> video)A section of the request body that specifies the video parameters.CreatePresetRequest.Buildervideo(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 Detail
-
name
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.
- 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
CreatePresetRequest.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
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, 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
CreatePresetRequest.Builder video(VideoParameters 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
default CreatePresetRequest.Builder video(Consumer<VideoParameters.Builder> video)
A section of the request body that specifies the video parameters.
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)
-
audio
CreatePresetRequest.Builder audio(AudioParameters 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
default CreatePresetRequest.Builder audio(Consumer<AudioParameters.Builder> audio)
A section of the request body that specifies the audio parameters.
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)
-
thumbnails
CreatePresetRequest.Builder thumbnails(Thumbnails 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
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 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)
-
overrideConfiguration
CreatePresetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreatePresetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-