Interface ClusterStatus.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<ClusterStatus.Builder,,ClusterStatus> SdkBuilder<ClusterStatus.Builder,,ClusterStatus> SdkPojo
- Enclosing class:
 ClusterStatus
- 
Method Summary
Modifier and TypeMethodDescriptionerrorDetails(Collection<ErrorDetail> errorDetails) A list of tuples that provides information about the errors that caused a cluster to terminate.errorDetails(Consumer<ErrorDetail.Builder>... errorDetails) A list of tuples that provides information about the errors that caused a cluster to terminate.errorDetails(ErrorDetail... errorDetails) A list of tuples that provides information about the errors that caused a cluster to terminate.The current state of the cluster.state(ClusterState state) The current state of the cluster.default ClusterStatus.BuilderstateChangeReason(Consumer<ClusterStateChangeReason.Builder> stateChangeReason) The reason for the cluster status change.stateChangeReason(ClusterStateChangeReason stateChangeReason) The reason for the cluster status change.default ClusterStatus.Buildertimeline(Consumer<ClusterTimeline.Builder> timeline) A timeline that represents the status of a cluster over the lifetime of the cluster.timeline(ClusterTimeline timeline) A timeline that represents the status of a cluster over the lifetime of the cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
Method Details
- 
state
The current state of the cluster.
- Parameters:
 state- The current state of the cluster.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
state
The current state of the cluster.
- Parameters:
 state- The current state of the cluster.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
stateChangeReason
The reason for the cluster status change.
- Parameters:
 stateChangeReason- The reason for the cluster status change.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
stateChangeReason
default ClusterStatus.Builder stateChangeReason(Consumer<ClusterStateChangeReason.Builder> stateChangeReason) The reason for the cluster status change.
This is a convenience method that creates an instance of theClusterStateChangeReason.Builderavoiding the need to create one manually viaClusterStateChangeReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostateChangeReason(ClusterStateChangeReason).- Parameters:
 stateChangeReason- a consumer that will call methods onClusterStateChangeReason.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
timeline
A timeline that represents the status of a cluster over the lifetime of the cluster.
- Parameters:
 timeline- A timeline that represents the status of a cluster over the lifetime of the cluster.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
timeline
A timeline that represents the status of a cluster over the lifetime of the cluster.
This is a convenience method that creates an instance of theClusterTimeline.Builderavoiding the need to create one manually viaClusterTimeline.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeline(ClusterTimeline).- Parameters:
 timeline- a consumer that will call methods onClusterTimeline.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
errorDetails
A list of tuples that provides information about the errors that caused a cluster to terminate. This structure can contain up to 10 different
ErrorDetailtuples.- Parameters:
 errorDetails- A list of tuples that provides information about the errors that caused a cluster to terminate. This structure can contain up to 10 differentErrorDetailtuples.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
errorDetails
A list of tuples that provides information about the errors that caused a cluster to terminate. This structure can contain up to 10 different
ErrorDetailtuples.- Parameters:
 errorDetails- A list of tuples that provides information about the errors that caused a cluster to terminate. This structure can contain up to 10 differentErrorDetailtuples.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
errorDetails
A list of tuples that provides information about the errors that caused a cluster to terminate. This structure can contain up to 10 different
This is a convenience method that creates an instance of theErrorDetailtuples.ErrorDetail.Builderavoiding the need to create one manually viaErrorDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrorDetails(List<ErrorDetail>).- Parameters:
 errorDetails- a consumer that will call methods onErrorDetail.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -