Interface UpdateProfileRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudExtensionsRequest.Builder,CopyableBuilder<UpdateProfileRequest.Builder,,UpdateProfileRequest> SdkBuilder<UpdateProfileRequest.Builder,,UpdateProfileRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateProfileRequest
@Mutable
@NotThreadSafe
public static interface UpdateProfileRequest.Builder
extends CloudExtensionsRequest.Builder, SdkPojo, CopyableBuilder<UpdateProfileRequest.Builder,UpdateProfileRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A human-readable description of the profile's purpose or target environment.default UpdateProfileRequest.BuilderextensionDefaults(Consumer<ExtensionDefaults.Builder> extensionDefaults) Default values used by the extensions in this profile.extensionDefaults(ExtensionDefaults extensionDefaults) Default values used by the extensions in this profile.identifier(String identifier) The identifier (id or name) of the profile to update.The new name of the profile.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudextensions.model.CloudExtensionsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
identifier
The identifier (id or name) of the profile to update.
- Parameters:
identifier- The identifier (id or name) of the profile to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The new name of the profile. Must be unique within the account.
- Parameters:
name- The new name of the profile. Must be unique within the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A human-readable description of the profile's purpose or target environment. An empty string removes the description.
- Parameters:
description- A human-readable description of the profile's purpose or target environment. An empty string removes the description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extensionDefaults
Default values used by the extensions in this profile. These can be overridden at the profile entry level.
- Parameters:
extensionDefaults- Default values used by the extensions in this profile. These can be overridden at the profile entry level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extensionDefaults
default UpdateProfileRequest.Builder extensionDefaults(Consumer<ExtensionDefaults.Builder> extensionDefaults) Default values used by the extensions in this profile. These can be overridden at the profile entry level.
This is a convenience method that creates an instance of theExtensionDefaults.Builderavoiding the need to create one manually viaExtensionDefaults.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toextensionDefaults(ExtensionDefaults).- Parameters:
extensionDefaults- a consumer that will call methods onExtensionDefaults.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateProfileRequest.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
UpdateProfileRequest.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.
-