Interface CreateClusterResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateClusterResponse.Builder,
,CreateClusterResponse> DsqlResponse.Builder
,SdkBuilder<CreateClusterResponse.Builder,
,CreateClusterResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateClusterResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the created cluster.creationTime
(Instant creationTime) The time of when created the cluster.deletionProtectionEnabled
(Boolean deletionProtectionEnabled) Whether deletion protection is enabled on this cluster.default CreateClusterResponse.Builder
encryptionDetails
(Consumer<EncryptionDetails.Builder> encryptionDetails) The encryption configuration for the cluster that was specified during the creation process, including the KMS key identifier and encryption state.encryptionDetails
(EncryptionDetails encryptionDetails) The encryption configuration for the cluster that was specified during the creation process, including the KMS key identifier and encryption state.identifier
(String identifier) The ID of the created cluster.default CreateClusterResponse.Builder
multiRegionProperties
(Consumer<MultiRegionProperties.Builder> multiRegionProperties) The multi-Region cluster configuration details that were set during cluster creationmultiRegionProperties
(MultiRegionProperties multiRegionProperties) The multi-Region cluster configuration details that were set during cluster creationThe status of the created cluster.status
(ClusterStatus status) The status of the created cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.dsql.model.DsqlResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
identifier
The ID of the created cluster.
- Parameters:
identifier
- The ID of the created cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the created cluster.
- Parameters:
arn
- The ARN of the created cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the created cluster.
- Parameters:
status
- The status of the created cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the created cluster.
- Parameters:
status
- The status of the created cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The time of when created the cluster.
- Parameters:
creationTime
- The time of when created the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiRegionProperties
The multi-Region cluster configuration details that were set during cluster creation
- Parameters:
multiRegionProperties
- The multi-Region cluster configuration details that were set during cluster creation- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiRegionProperties
default CreateClusterResponse.Builder multiRegionProperties(Consumer<MultiRegionProperties.Builder> multiRegionProperties) The multi-Region cluster configuration details that were set during cluster creation
This is a convenience method that creates an instance of theMultiRegionProperties.Builder
avoiding the need to create one manually viaMultiRegionProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomultiRegionProperties(MultiRegionProperties)
.- Parameters:
multiRegionProperties
- a consumer that will call methods onMultiRegionProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionDetails
The encryption configuration for the cluster that was specified during the creation process, including the KMS key identifier and encryption state.
- Parameters:
encryptionDetails
- The encryption configuration for the cluster that was specified during the creation process, including the KMS key identifier and encryption state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionDetails
default CreateClusterResponse.Builder encryptionDetails(Consumer<EncryptionDetails.Builder> encryptionDetails) The encryption configuration for the cluster that was specified during the creation process, including the KMS key identifier and encryption state.
This is a convenience method that creates an instance of theEncryptionDetails.Builder
avoiding the need to create one manually viaEncryptionDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionDetails(EncryptionDetails)
.- Parameters:
encryptionDetails
- a consumer that will call methods onEncryptionDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deletionProtectionEnabled
Whether deletion protection is enabled on this cluster.
- Parameters:
deletionProtectionEnabled
- Whether deletion protection is enabled on this cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-