public static interface ClusterStatus.Builder extends SdkPojo, CopyableBuilder<ClusterStatus.Builder,ClusterStatus>
| Modifier and Type | Method and Description |
|---|---|
ClusterStatus.Builder |
errorDetails(Collection<ErrorDetail> errorDetails)
A list of tuples that provides information about the errors that caused a cluster to terminate.
|
ClusterStatus.Builder |
errorDetails(Consumer<ErrorDetail.Builder>... errorDetails)
A list of tuples that provides information about the errors that caused a cluster to terminate.
|
ClusterStatus.Builder |
errorDetails(ErrorDetail... errorDetails)
A list of tuples that provides information about the errors that caused a cluster to terminate.
|
ClusterStatus.Builder |
state(ClusterState state)
The current state of the cluster.
|
ClusterStatus.Builder |
state(String state)
The current state of the cluster.
|
ClusterStatus.Builder |
stateChangeReason(ClusterStateChangeReason stateChangeReason)
The reason for the cluster status change.
|
default ClusterStatus.Builder |
stateChangeReason(Consumer<ClusterStateChangeReason.Builder> stateChangeReason)
The reason for the cluster status change.
|
ClusterStatus.Builder |
timeline(ClusterTimeline timeline)
A timeline that represents the status of a cluster over the lifetime of the cluster.
|
default ClusterStatus.Builder |
timeline(Consumer<ClusterTimeline.Builder> timeline)
A timeline that represents the status of a cluster over the lifetime of the cluster.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildClusterStatus.Builder state(String state)
The current state of the cluster.
state - The current state of the cluster.ClusterState,
ClusterStateClusterStatus.Builder state(ClusterState state)
The current state of the cluster.
state - The current state of the cluster.ClusterState,
ClusterStateClusterStatus.Builder stateChangeReason(ClusterStateChangeReason stateChangeReason)
The reason for the cluster status change.
stateChangeReason - The reason for the cluster status change.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.Builder
avoiding the need to create one manually via ClusterStateChangeReason.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to stateChangeReason(ClusterStateChangeReason).
stateChangeReason - a consumer that will call methods on ClusterStateChangeReason.BuilderstateChangeReason(ClusterStateChangeReason)ClusterStatus.Builder timeline(ClusterTimeline timeline)
A timeline that represents the status of a cluster over the lifetime of the cluster.
timeline - A timeline that represents the status of a cluster over the lifetime of the cluster.default ClusterStatus.Builder timeline(Consumer<ClusterTimeline.Builder> 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.Builder avoiding the
need to create one manually via ClusterTimeline.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to timeline(ClusterTimeline).
timeline - a consumer that will call methods on ClusterTimeline.Buildertimeline(ClusterTimeline)ClusterStatus.Builder errorDetails(Collection<ErrorDetail> 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 ErrorDetail tuples.
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 ErrorDetail tuples.ClusterStatus.Builder errorDetails(ErrorDetail... 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 ErrorDetail tuples.
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 ErrorDetail tuples.ClusterStatus.Builder errorDetails(Consumer<ErrorDetail.Builder>... 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 ErrorDetail tuples.
ErrorDetail.Builder avoiding the need to create one
manually via ErrorDetail.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #errorDetails(List.
errorDetails - a consumer that will call methods on
ErrorDetail.Builder#errorDetails(java.util.Collection) Copyright © 2023. All rights reserved.