Interface GetClusterResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetClusterResponse.Builder,GetClusterResponse>,DsqlResponse.Builder,SdkBuilder<GetClusterResponse.Builder,GetClusterResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetClusterResponse
public static interface GetClusterResponse.Builder extends DsqlResponse.Builder, SdkPojo, CopyableBuilder<GetClusterResponse.Builder,GetClusterResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetClusterResponse.Builderarn(String arn)The ARN of the retrieved cluster.GetClusterResponse.BuildercreationTime(Instant creationTime)The time of when the cluster was created.GetClusterResponse.BuilderdeletionProtectionEnabled(Boolean deletionProtectionEnabled)Whether deletion protection is enabled in this cluster.GetClusterResponse.Builderidentifier(String identifier)The ID of the retrieved cluster.GetClusterResponse.BuilderlinkedClusterArns(String... linkedClusterArns)The ARNs of the clusters linked to the retrieved cluster.GetClusterResponse.BuilderlinkedClusterArns(Collection<String> linkedClusterArns)The ARNs of the clusters linked to the retrieved cluster.GetClusterResponse.Builderstatus(String status)The status of the retrieved cluster.GetClusterResponse.Builderstatus(ClusterStatus status)The status of the retrieved cluster.GetClusterResponse.BuilderwitnessRegion(String witnessRegion)The witness Region of the 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 Detail
-
identifier
GetClusterResponse.Builder identifier(String 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
GetClusterResponse.Builder arn(String 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
GetClusterResponse.Builder status(String 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:
ClusterStatus,ClusterStatus
-
status
GetClusterResponse.Builder status(ClusterStatus 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:
ClusterStatus,ClusterStatus
-
creationTime
GetClusterResponse.Builder creationTime(Instant 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
GetClusterResponse.Builder deletionProtectionEnabled(Boolean 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.
-
witnessRegion
GetClusterResponse.Builder witnessRegion(String witnessRegion)
The witness Region of the cluster. Applicable only for multi-Region clusters.
- Parameters:
witnessRegion- The witness Region of the cluster. Applicable only for multi-Region clusters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkedClusterArns
GetClusterResponse.Builder linkedClusterArns(Collection<String> linkedClusterArns)
The ARNs of the clusters linked to the retrieved cluster.
- Parameters:
linkedClusterArns- The ARNs of the clusters linked to the retrieved cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkedClusterArns
GetClusterResponse.Builder linkedClusterArns(String... linkedClusterArns)
The ARNs of the clusters linked to the retrieved cluster.
- Parameters:
linkedClusterArns- The ARNs of the clusters linked to the retrieved cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-