Interface CreatePresetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreatePresetRequest.Builder,
,CreatePresetRequest> MediaConvertRequest.Builder
,SdkBuilder<CreatePresetRequest.Builder,
,CreatePresetRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreatePresetRequest
public static interface CreatePresetRequest.Builder
extends MediaConvertRequest.Builder, SdkPojo, CopyableBuilder<CreatePresetRequest.Builder,CreatePresetRequest>
-
Method Summary
Modifier and TypeMethodDescriptionOptional.description
(String description) Optional.The name of the preset you are creating.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreatePresetRequest.Builder
settings
(Consumer<PresetSettings.Builder> settings) Settings for preset This is a convenience method that creates an instance of thePresetSettings.Builder
avoiding the need to create one manually viaPresetSettings.builder()
.settings
(PresetSettings settings) Settings for presetThe tags that you want to add to the resource.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.mediaconvert.model.MediaConvertRequest.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
-
category
Optional. A category for the preset you are creating.- Parameters:
category
- Optional. A category for the preset you are creating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Optional. A description of the preset you are creating.- Parameters:
description
- Optional. A description of the preset you are creating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the preset you are creating.- Parameters:
name
- The name of the preset you are creating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
Settings for preset- Parameters:
settings
- Settings for preset- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
Settings for preset This is a convenience method that creates an instance of thePresetSettings.Builder
avoiding the need to create one manually viaPresetSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosettings(PresetSettings)
.- Parameters:
settings
- a consumer that will call methods onPresetSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.- Parameters:
tags
- The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-