Interface ClusterOperationInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ClusterOperationInfo.Builder,
,ClusterOperationInfo> SdkBuilder<ClusterOperationInfo.Builder,
,ClusterOperationInfo> SdkPojo
- Enclosing class:
ClusterOperationInfo
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestId
(String clientRequestId) The ID of the API request that triggered this operation.clusterArn
(String clusterArn) ARN of the cluster.creationTime
(Instant creationTime) The time that the operation was created.The time at which the operation finished.default ClusterOperationInfo.Builder
errorInfo
(Consumer<ErrorInfo.Builder> errorInfo) Describes the error if the operation fails.Describes the error if the operation fails.operationArn
(String operationArn) ARN of the cluster operation.operationState
(String operationState) State of the cluster operation.operationSteps
(Collection<ClusterOperationStep> operationSteps) Steps completed during the operation.operationSteps
(Consumer<ClusterOperationStep.Builder>... operationSteps) Steps completed during the operation.operationSteps
(ClusterOperationStep... operationSteps) Steps completed during the operation.operationType
(String operationType) Type of the cluster operation.default ClusterOperationInfo.Builder
sourceClusterInfo
(Consumer<MutableClusterInfo.Builder> sourceClusterInfo) Information about cluster attributes before a cluster is updated.sourceClusterInfo
(MutableClusterInfo sourceClusterInfo) Information about cluster attributes before a cluster is updated.default ClusterOperationInfo.Builder
targetClusterInfo
(Consumer<MutableClusterInfo.Builder> targetClusterInfo) Information about cluster attributes after a cluster is updated.targetClusterInfo
(MutableClusterInfo targetClusterInfo) Information about cluster attributes after a cluster is updated.default ClusterOperationInfo.Builder
vpcConnectionInfo
(Consumer<VpcConnectionInfo.Builder> vpcConnectionInfo) Description of the VPC connection for CreateVpcConnection and DeleteVpcConnection operations.vpcConnectionInfo
(VpcConnectionInfo vpcConnectionInfo) Description of the VPC connection for CreateVpcConnection and DeleteVpcConnection operations.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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 Details
-
clientRequestId
The ID of the API request that triggered this operation.
- Parameters:
clientRequestId
-The ID of the API request that triggered this operation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterArn
ARN of the cluster.
- Parameters:
clusterArn
-ARN of the cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time that the operation was created.
- Parameters:
creationTime
-The time that the operation was created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The time at which the operation finished.
- Parameters:
endTime
-The time at which the operation finished.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorInfo
Describes the error if the operation fails.
- Parameters:
errorInfo
-Describes the error if the operation fails.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorInfo
Describes the error if the operation fails.
This is a convenience method that creates an instance of theErrorInfo.Builder
avoiding the need to create one manually viaErrorInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorInfo(ErrorInfo)
.- Parameters:
errorInfo
- a consumer that will call methods onErrorInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operationArn
ARN of the cluster operation.
- Parameters:
operationArn
-ARN of the cluster operation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationState
State of the cluster operation.
- Parameters:
operationState
-State of the cluster operation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationSteps
Steps completed during the operation.
- Parameters:
operationSteps
-Steps completed during the operation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationSteps
Steps completed during the operation.
- Parameters:
operationSteps
-Steps completed during the operation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationSteps
ClusterOperationInfo.Builder operationSteps(Consumer<ClusterOperationStep.Builder>... operationSteps) Steps completed during the operation.
This is a convenience method that creates an instance of theClusterOperationStep.Builder
avoiding the need to create one manually viaClusterOperationStep.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooperationSteps(List<ClusterOperationStep>)
.- Parameters:
operationSteps
- a consumer that will call methods onClusterOperationStep.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operationType
Type of the cluster operation.
- Parameters:
operationType
-Type of the cluster operation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceClusterInfo
Information about cluster attributes before a cluster is updated.
- Parameters:
sourceClusterInfo
-Information about cluster attributes before a cluster is updated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceClusterInfo
default ClusterOperationInfo.Builder sourceClusterInfo(Consumer<MutableClusterInfo.Builder> sourceClusterInfo) Information about cluster attributes before a cluster is updated.
This is a convenience method that creates an instance of theMutableClusterInfo.Builder
avoiding the need to create one manually viaMutableClusterInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceClusterInfo(MutableClusterInfo)
.- Parameters:
sourceClusterInfo
- a consumer that will call methods onMutableClusterInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetClusterInfo
Information about cluster attributes after a cluster is updated.
- Parameters:
targetClusterInfo
-Information about cluster attributes after a cluster is updated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetClusterInfo
default ClusterOperationInfo.Builder targetClusterInfo(Consumer<MutableClusterInfo.Builder> targetClusterInfo) Information about cluster attributes after a cluster is updated.
This is a convenience method that creates an instance of theMutableClusterInfo.Builder
avoiding the need to create one manually viaMutableClusterInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetClusterInfo(MutableClusterInfo)
.- Parameters:
targetClusterInfo
- a consumer that will call methods onMutableClusterInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcConnectionInfo
Description of the VPC connection for CreateVpcConnection and DeleteVpcConnection operations.
- Parameters:
vpcConnectionInfo
-Description of the VPC connection for CreateVpcConnection and DeleteVpcConnection operations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConnectionInfo
default ClusterOperationInfo.Builder vpcConnectionInfo(Consumer<VpcConnectionInfo.Builder> vpcConnectionInfo) Description of the VPC connection for CreateVpcConnection and DeleteVpcConnection operations.
This is a convenience method that creates an instance of theVpcConnectionInfo.Builder
avoiding the need to create one manually viaVpcConnectionInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConnectionInfo(VpcConnectionInfo)
.- Parameters:
vpcConnectionInfo
- a consumer that will call methods onVpcConnectionInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-