public static interface InstanceGroupStatus.Builder extends CopyableBuilder<InstanceGroupStatus.Builder,InstanceGroupStatus>
| Modifier and Type | Method and Description |
|---|---|
InstanceGroupStatus.Builder |
state(InstanceGroupState state)
The current state of the instance group.
|
InstanceGroupStatus.Builder |
state(String state)
The current state of the instance group.
|
default InstanceGroupStatus.Builder |
stateChangeReason(Consumer<InstanceGroupStateChangeReason.Builder> stateChangeReason)
The status change reason details for the instance group.
|
InstanceGroupStatus.Builder |
stateChangeReason(InstanceGroupStateChangeReason stateChangeReason)
The status change reason details for the instance group.
|
default InstanceGroupStatus.Builder |
timeline(Consumer<InstanceGroupTimeline.Builder> timeline)
The timeline of the instance group status over time.
|
InstanceGroupStatus.Builder |
timeline(InstanceGroupTimeline timeline)
The timeline of the instance group status over time.
|
copyapply, buildInstanceGroupStatus.Builder state(String state)
The current state of the instance group.
state - The current state of the instance group.InstanceGroupState,
InstanceGroupStateInstanceGroupStatus.Builder state(InstanceGroupState state)
The current state of the instance group.
state - The current state of the instance group.InstanceGroupState,
InstanceGroupStateInstanceGroupStatus.Builder stateChangeReason(InstanceGroupStateChangeReason stateChangeReason)
The status change reason details for the instance group.
stateChangeReason - The status change reason details for the instance group.default InstanceGroupStatus.Builder stateChangeReason(Consumer<InstanceGroupStateChangeReason.Builder> stateChangeReason)
The status change reason details for the instance group.
This is a convenience that creates an instance of theInstanceGroupStateChangeReason.Builder avoiding
the need to create one manually via InstanceGroupStateChangeReason.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to stateChangeReason(InstanceGroupStateChangeReason).stateChangeReason - a consumer that will call methods on InstanceGroupStateChangeReason.BuilderstateChangeReason(InstanceGroupStateChangeReason)InstanceGroupStatus.Builder timeline(InstanceGroupTimeline timeline)
The timeline of the instance group status over time.
timeline - The timeline of the instance group status over time.default InstanceGroupStatus.Builder timeline(Consumer<InstanceGroupTimeline.Builder> timeline)
The timeline of the instance group status over time.
This is a convenience that creates an instance of theInstanceGroupTimeline.Builder avoiding the need
to create one manually via InstanceGroupTimeline.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to timeline(InstanceGroupTimeline).timeline - a consumer that will call methods on InstanceGroupTimeline.Buildertimeline(InstanceGroupTimeline)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.