Interface CreateProfileRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudExtensionsRequest.Builder,CopyableBuilder<CreateProfileRequest.Builder,,CreateProfileRequest> SdkBuilder<CreateProfileRequest.Builder,,CreateProfileRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateProfileRequest
@Mutable
@NotThreadSafe
public static interface CreateProfileRequest.Builder
extends CloudExtensionsRequest.Builder, SdkPojo, CopyableBuilder<CreateProfileRequest.Builder,CreateProfileRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) Sets the value of the ClientToken property for this object.description(String description) A human-readable description of the profile's purpose or target environment.default CreateProfileRequest.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.The name of the profile.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Tags to assign to the profile.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
-
clientToken
Sets the value of the ClientToken property for this object.- Parameters:
clientToken- The new value for the ClientToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the profile. Must be unique within the account.
- Parameters:
name- The 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.
- Parameters:
description- A human-readable description of the profile's purpose or target environment.- 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 CreateProfileRequest.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:
-
tags
Tags to assign to the profile.
- Parameters:
tags- Tags to assign to the profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateProfileRequest.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
CreateProfileRequest.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.
-