Interface ClusterOperationV2.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ClusterOperationV2.Builder,ClusterOperationV2>
,SdkBuilder<ClusterOperationV2.Builder,ClusterOperationV2>
,SdkPojo
- Enclosing class:
- ClusterOperationV2
public static interface ClusterOperationV2.Builder extends SdkPojo, CopyableBuilder<ClusterOperationV2.Builder,ClusterOperationV2>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ClusterOperationV2.Builder
clusterArn(String clusterArn)
ARN of the cluster.ClusterOperationV2.Builder
clusterType(String clusterType)
Type of the backend cluster.ClusterOperationV2.Builder
clusterType(ClusterType 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.default ClusterOperationV2.Builder
provisioned(Consumer<ClusterOperationV2Provisioned.Builder> provisioned)
Properties of a provisioned cluster.ClusterOperationV2.Builder
provisioned(ClusterOperationV2Provisioned provisioned)
Properties of a provisioned cluster.default ClusterOperationV2.Builder
serverless(Consumer<ClusterOperationV2Serverless.Builder> serverless)
Properties of a serverless cluster.ClusterOperationV2.Builder
serverless(ClusterOperationV2Serverless serverless)
Properties of a serverless cluster.ClusterOperationV2.Builder
startTime(Instant startTime)
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
clusterArn
ClusterOperationV2.Builder clusterArn(String 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
ClusterOperationV2.Builder clusterType(String 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
,ClusterType
-
clusterType
ClusterOperationV2.Builder clusterType(ClusterType 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
,ClusterType
-
startTime
ClusterOperationV2.Builder startTime(Instant 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
ClusterOperationV2.Builder endTime(Instant 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
ClusterOperationV2.Builder errorInfo(ErrorInfo 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
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 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:
errorInfo(ErrorInfo)
-
operationArn
ClusterOperationV2.Builder operationArn(String 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
ClusterOperationV2.Builder operationState(String 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
ClusterOperationV2.Builder operationType(String 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
ClusterOperationV2.Builder provisioned(ClusterOperationV2Provisioned 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:
provisioned(ClusterOperationV2Provisioned)
-
serverless
ClusterOperationV2.Builder serverless(ClusterOperationV2Serverless 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:
serverless(ClusterOperationV2Serverless)
-
-