Interface GetClusterResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetClusterResponse.Builder,
,GetClusterResponse> DsqlResponse.Builder
,SdkBuilder<GetClusterResponse.Builder,
,GetClusterResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetClusterResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the retrieved cluster.creationTime
(Instant creationTime) The time of when the cluster was created.deletionProtectionEnabled
(Boolean deletionProtectionEnabled) Whether deletion protection is enabled in this cluster.default GetClusterResponse.Builder
encryptionDetails
(Consumer<EncryptionDetails.Builder> encryptionDetails) The current encryption configuration details for the cluster.encryptionDetails
(EncryptionDetails encryptionDetails) The current encryption configuration details for the cluster.identifier
(String identifier) The ID of the retrieved cluster.default GetClusterResponse.Builder
multiRegionProperties
(Consumer<MultiRegionProperties.Builder> multiRegionProperties) Returns the current multi-Region cluster configuration, including witness region and linked cluster information.multiRegionProperties
(MultiRegionProperties multiRegionProperties) Returns the current multi-Region cluster configuration, including witness region and linked cluster information.The status of the retrieved cluster.status
(ClusterStatus status) The status of the retrieved cluster.Sets the value of the Tags property for this object.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 retrieved cluster.
- Parameters:
identifier
- The ID of the retrieved cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the retrieved cluster.
- Parameters:
arn
- The ARN of the retrieved cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the retrieved cluster.
- Parameters:
status
- The status of the retrieved cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the retrieved cluster.
- Parameters:
status
- The status of the retrieved cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The time of when the cluster was created.
- Parameters:
creationTime
- The time of when the cluster was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtectionEnabled
Whether deletion protection is enabled in this cluster.
- Parameters:
deletionProtectionEnabled
- Whether deletion protection is enabled in this cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiRegionProperties
Returns the current multi-Region cluster configuration, including witness region and linked cluster information.
- Parameters:
multiRegionProperties
- Returns the current multi-Region cluster configuration, including witness region and linked cluster information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiRegionProperties
default GetClusterResponse.Builder multiRegionProperties(Consumer<MultiRegionProperties.Builder> multiRegionProperties) Returns the current multi-Region cluster configuration, including witness region and linked cluster information.
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:
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags
- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionDetails
The current encryption configuration details for the cluster.
- Parameters:
encryptionDetails
- The current encryption configuration details for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionDetails
default GetClusterResponse.Builder encryptionDetails(Consumer<EncryptionDetails.Builder> encryptionDetails) The current encryption configuration details for the cluster.
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:
-