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.Buildersettings(Consumer<PresetSettings.Builder> settings) Settings for preset This is a convenience method that creates an instance of thePresetSettings.Builderavoiding 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mediaconvert.model.MediaConvertRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaPresetSettings.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-