Interface CreateClusterRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateClusterRequest.Builder,CreateClusterRequest>,DsqlRequest.Builder,SdkBuilder<CreateClusterRequest.Builder,CreateClusterRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateClusterRequest
public static interface CreateClusterRequest.Builder extends DsqlRequest.Builder, SdkPojo, CopyableBuilder<CreateClusterRequest.Builder,CreateClusterRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateClusterRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.CreateClusterRequest.BuilderdeletionProtectionEnabled(Boolean deletionProtectionEnabled)If enabled, you can't delete your cluster.CreateClusterRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateClusterRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateClusterRequest.Buildertags(Map<String,String> tags)A map of key and value pairs to use to tag your cluster.-
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.dsql.model.DsqlRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
deletionProtectionEnabled
CreateClusterRequest.Builder deletionProtectionEnabled(Boolean deletionProtectionEnabled)
If enabled, you can't delete your cluster. You must first disable this property before you can delete your cluster.
- Parameters:
deletionProtectionEnabled- If enabled, you can't delete your cluster. You must first disable this property before you can delete your cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateClusterRequest.Builder tags(Map<String,String> tags)
A map of key and value pairs to use to tag your cluster.
- Parameters:
tags- A map of key and value pairs to use to tag your cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
CreateClusterRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect.
If you don't specify a client token, the Amazon Web Services SDK automatically generates one.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect.If you don't specify a client token, the Amazon Web Services SDK automatically generates one.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-