public static interface ClusterOperationV2.Builder extends SdkPojo, CopyableBuilder<ClusterOperationV2.Builder,ClusterOperationV2>
| Modifier and Type | Method and Description |
|---|---|
ClusterOperationV2.Builder |
clusterArn(String clusterArn)
ARN of the cluster.
|
ClusterOperationV2.Builder |
clusterType(ClusterType clusterType)
Type of the backend cluster.
|
ClusterOperationV2.Builder |
clusterType(String clusterType)
Type of the backend cluster.
|
ClusterOperationV2.Builder |
endTime(Instant endTime)
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.
|
ClusterOperationV2.Builder |
errorInfo(ErrorInfo errorInfo)
If cluster operation failed from an error, it describes the error.
|
ClusterOperationV2.Builder |
operationArn(String operationArn)
ARN of the cluster operation.
|
ClusterOperationV2.Builder |
operationState(String operationState)
State of the cluster operation.
|
ClusterOperationV2.Builder |
operationType(String operationType)
Type of the cluster operation.
|
ClusterOperationV2.Builder |
provisioned(ClusterOperationV2Provisioned provisioned)
Properties of a provisioned cluster.
|
default ClusterOperationV2.Builder |
provisioned(Consumer<ClusterOperationV2Provisioned.Builder> provisioned)
Properties of a provisioned cluster.
|
ClusterOperationV2.Builder |
serverless(ClusterOperationV2Serverless serverless)
Properties of a serverless cluster.
|
default ClusterOperationV2.Builder |
serverless(Consumer<ClusterOperationV2Serverless.Builder> serverless)
Properties of a serverless cluster.
|
ClusterOperationV2.Builder |
startTime(Instant startTime)
The time at which operation was started.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildClusterOperationV2.Builder clusterArn(String clusterArn)
ARN of the cluster.
clusterArn - ARN of the cluster.
ClusterOperationV2.Builder clusterType(String clusterType)
Type of the backend cluster.
clusterType - Type of the backend cluster.
ClusterType,
ClusterTypeClusterOperationV2.Builder clusterType(ClusterType clusterType)
Type of the backend cluster.
clusterType - Type of the backend cluster.
ClusterType,
ClusterTypeClusterOperationV2.Builder startTime(Instant startTime)
The time at which operation was started.
startTime - The time at which operation was started.
ClusterOperationV2.Builder endTime(Instant endTime)
The time at which the operation finished.
endTime - The time at which the operation finished.
ClusterOperationV2.Builder errorInfo(ErrorInfo errorInfo)
If cluster operation failed from an error, it describes the error.
errorInfo - If cluster operation failed from an error, it describes the error.
default ClusterOperationV2.Builder errorInfo(Consumer<ErrorInfo.Builder> 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 via ErrorInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to errorInfo(ErrorInfo).
errorInfo - a consumer that will call methods on ErrorInfo.BuildererrorInfo(ErrorInfo)ClusterOperationV2.Builder operationArn(String operationArn)
ARN of the cluster operation.
operationArn - ARN of the cluster operation.
ClusterOperationV2.Builder operationState(String operationState)
State of the cluster operation.
operationState - State of the cluster operation.
ClusterOperationV2.Builder operationType(String operationType)
Type of the cluster operation.
operationType - Type of the cluster operation.
ClusterOperationV2.Builder provisioned(ClusterOperationV2Provisioned provisioned)
Properties of a provisioned cluster.
provisioned - Properties of a provisioned cluster.
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 via ClusterOperationV2Provisioned.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to provisioned(ClusterOperationV2Provisioned).
provisioned - a consumer that will call methods on ClusterOperationV2Provisioned.Builderprovisioned(ClusterOperationV2Provisioned)ClusterOperationV2.Builder serverless(ClusterOperationV2Serverless serverless)
Properties of a serverless cluster.
serverless - Properties of a serverless cluster.
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 via ClusterOperationV2Serverless.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to serverless(ClusterOperationV2Serverless).
serverless - a consumer that will call methods on ClusterOperationV2Serverless.Builderserverless(ClusterOperationV2Serverless)Copyright © 2023. All rights reserved.