Interface ClusterOperationInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ClusterOperationInfo.Builder,ClusterOperationInfo>,SdkBuilder<ClusterOperationInfo.Builder,ClusterOperationInfo>,SdkPojo
- Enclosing class:
- ClusterOperationInfo
public static interface ClusterOperationInfo.Builder extends SdkPojo, CopyableBuilder<ClusterOperationInfo.Builder,ClusterOperationInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ClusterOperationInfo.BuilderclientRequestId(String clientRequestId)The ID of the API request that triggered this operation.ClusterOperationInfo.BuilderclusterArn(String clusterArn)ARN of the cluster.ClusterOperationInfo.BuildercreationTime(Instant creationTime)The time that the operation was created.ClusterOperationInfo.BuilderendTime(Instant endTime)The time at which the operation finished.default ClusterOperationInfo.BuildererrorInfo(Consumer<ErrorInfo.Builder> errorInfo)Describes the error if the operation fails.ClusterOperationInfo.BuildererrorInfo(ErrorInfo errorInfo)Describes the error if the operation fails.ClusterOperationInfo.BuilderoperationArn(String operationArn)ARN of the cluster operation.ClusterOperationInfo.BuilderoperationState(String operationState)State of the cluster operation.ClusterOperationInfo.BuilderoperationSteps(Collection<ClusterOperationStep> operationSteps)Steps completed during the operation.ClusterOperationInfo.BuilderoperationSteps(Consumer<ClusterOperationStep.Builder>... operationSteps)Steps completed during the operation.ClusterOperationInfo.BuilderoperationSteps(ClusterOperationStep... operationSteps)Steps completed during the operation.ClusterOperationInfo.BuilderoperationType(String operationType)Type of the cluster operation.default ClusterOperationInfo.BuildersourceClusterInfo(Consumer<MutableClusterInfo.Builder> sourceClusterInfo)Information about cluster attributes before a cluster is updated.ClusterOperationInfo.BuildersourceClusterInfo(MutableClusterInfo sourceClusterInfo)Information about cluster attributes before a cluster is updated.default ClusterOperationInfo.BuildertargetClusterInfo(Consumer<MutableClusterInfo.Builder> targetClusterInfo)Information about cluster attributes after a cluster is updated.ClusterOperationInfo.BuildertargetClusterInfo(MutableClusterInfo targetClusterInfo)Information about cluster attributes after a cluster is updated.default ClusterOperationInfo.BuildervpcConnectionInfo(Consumer<VpcConnectionInfo.Builder> vpcConnectionInfo)Description of the VPC connection for CreateVpcConnection and DeleteVpcConnection operations.ClusterOperationInfo.BuildervpcConnectionInfo(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 Detail
-
clientRequestId
ClusterOperationInfo.Builder clientRequestId(String 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
ClusterOperationInfo.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.
-
creationTime
ClusterOperationInfo.Builder creationTime(Instant 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
ClusterOperationInfo.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
ClusterOperationInfo.Builder errorInfo(ErrorInfo 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
default ClusterOperationInfo.Builder errorInfo(Consumer<ErrorInfo.Builder> errorInfo)
Describes the error if the operation fails.
This is a convenience method that creates an instance of theErrorInfo.Builderavoiding the need to create one manually viaErrorInfo.builder().When the
Consumercompletes,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
ClusterOperationInfo.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
ClusterOperationInfo.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.
-
operationSteps
ClusterOperationInfo.Builder operationSteps(Collection<ClusterOperationStep> 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(ClusterOperationStep... 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.Builderavoiding the need to create one manually viaClusterOperationStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#operationSteps(List.) - 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:
#operationSteps(java.util.Collection)
-
operationType
ClusterOperationInfo.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.
-
sourceClusterInfo
ClusterOperationInfo.Builder sourceClusterInfo(MutableClusterInfo 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.Builderavoiding the need to create one manually viaMutableClusterInfo.builder().When the
Consumercompletes,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:
sourceClusterInfo(MutableClusterInfo)
-
targetClusterInfo
ClusterOperationInfo.Builder targetClusterInfo(MutableClusterInfo 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.Builderavoiding the need to create one manually viaMutableClusterInfo.builder().When the
Consumercompletes,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:
targetClusterInfo(MutableClusterInfo)
-
vpcConnectionInfo
ClusterOperationInfo.Builder vpcConnectionInfo(VpcConnectionInfo 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.Builderavoiding the need to create one manually viaVpcConnectionInfo.builder().When the
Consumercompletes,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:
vpcConnectionInfo(VpcConnectionInfo)
-
-