public static interface ClusterStatus.Builder extends CopyableBuilder<ClusterStatus.Builder,ClusterStatus>
| Modifier and Type | Method and Description |
|---|---|
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.
|
copyapply, 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 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 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)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.