Interface ClusterOperationV2.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ClusterOperationV2.Builder,
,ClusterOperationV2> SdkBuilder<ClusterOperationV2.Builder,
,ClusterOperationV2> SdkPojo
- Enclosing class:
ClusterOperationV2
-
Method Summary
Modifier and TypeMethodDescriptionclusterArn
(String clusterArn) ARN of the cluster.clusterType
(String clusterType) Type of the backend cluster.clusterType
(ClusterType clusterType) Type of the backend cluster.The time at which the operation finished.default ClusterOperationV2.Builder
errorInfo
(Consumer<ErrorInfo.Builder> errorInfo) If cluster operation failed from an error, it describes the error.If cluster operation failed from an error, it describes the error.operationArn
(String operationArn) ARN of the cluster operation.operationState
(String operationState) State of the cluster operation.operationType
(String operationType) Type of the cluster operation.default ClusterOperationV2.Builder
provisioned
(Consumer<ClusterOperationV2Provisioned.Builder> provisioned) Properties of a provisioned cluster.provisioned
(ClusterOperationV2Provisioned provisioned) Properties of a provisioned cluster.default ClusterOperationV2.Builder
serverless
(Consumer<ClusterOperationV2Serverless.Builder> serverless) Properties of a serverless cluster.serverless
(ClusterOperationV2Serverless serverless) Properties of a serverless cluster.The time at which operation was started.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, sdkFields
-
Method Details
-
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.
-
clusterType
Type of the backend cluster.
- Parameters:
clusterType
-Type of the backend cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clusterType
Type of the backend cluster.
- Parameters:
clusterType
-Type of the backend cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The time at which operation was started.
- Parameters:
startTime
-The time at which operation was started.
- 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
If cluster operation failed from an error, it describes the error.
- Parameters:
errorInfo
-If cluster operation failed from an error, it describes the error.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorInfo
If cluster operation failed from an error, it describes the error.
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.
-
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.
-
provisioned
Properties of a provisioned cluster.
- Parameters:
provisioned
-Properties of a provisioned cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisioned
default ClusterOperationV2.Builder provisioned(Consumer<ClusterOperationV2Provisioned.Builder> provisioned) Properties of a provisioned cluster.
This is a convenience method that creates an instance of theClusterOperationV2Provisioned.Builder
avoiding the need to create one manually viaClusterOperationV2Provisioned.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprovisioned(ClusterOperationV2Provisioned)
.- Parameters:
provisioned
- a consumer that will call methods onClusterOperationV2Provisioned.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serverless
Properties of a serverless cluster.
- Parameters:
serverless
-Properties of a serverless cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverless
default ClusterOperationV2.Builder serverless(Consumer<ClusterOperationV2Serverless.Builder> serverless) Properties of a serverless cluster.
This is a convenience method that creates an instance of theClusterOperationV2Serverless.Builder
avoiding the need to create one manually viaClusterOperationV2Serverless.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserverless(ClusterOperationV2Serverless)
.- Parameters:
serverless
- a consumer that will call methods onClusterOperationV2Serverless.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-