public static interface InstanceFleetStatus.Builder extends CopyableBuilder<InstanceFleetStatus.Builder,InstanceFleetStatus>
| Modifier and Type | Method and Description |
|---|---|
InstanceFleetStatus.Builder |
state(InstanceFleetState state)
A code representing the instance fleet status.
|
InstanceFleetStatus.Builder |
state(String state)
A code representing the instance fleet status.
|
default InstanceFleetStatus.Builder |
stateChangeReason(Consumer<InstanceFleetStateChangeReason.Builder> stateChangeReason)
Provides status change reason details for the instance fleet.
|
InstanceFleetStatus.Builder |
stateChangeReason(InstanceFleetStateChangeReason stateChangeReason)
Provides status change reason details for the instance fleet.
|
default InstanceFleetStatus.Builder |
timeline(Consumer<InstanceFleetTimeline.Builder> timeline)
Provides historical timestamps for the instance fleet, including the time of creation, the time it became
ready to run jobs, and the time of termination.
|
InstanceFleetStatus.Builder |
timeline(InstanceFleetTimeline timeline)
Provides historical timestamps for the instance fleet, including the time of creation, the time it became
ready to run jobs, and the time of termination.
|
copyapply, buildInstanceFleetStatus.Builder state(String state)
A code representing the instance fleet status.
state - A code representing the instance fleet status.InstanceFleetState,
InstanceFleetStateInstanceFleetStatus.Builder state(InstanceFleetState state)
A code representing the instance fleet status.
state - A code representing the instance fleet status.InstanceFleetState,
InstanceFleetStateInstanceFleetStatus.Builder stateChangeReason(InstanceFleetStateChangeReason stateChangeReason)
Provides status change reason details for the instance fleet.
stateChangeReason - Provides status change reason details for the instance fleet.default InstanceFleetStatus.Builder stateChangeReason(Consumer<InstanceFleetStateChangeReason.Builder> stateChangeReason)
Provides status change reason details for the instance fleet.
This is a convenience that creates an instance of theInstanceFleetStateChangeReason.Builder avoiding
the need to create one manually via InstanceFleetStateChangeReason.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to stateChangeReason(InstanceFleetStateChangeReason).stateChangeReason - a consumer that will call methods on InstanceFleetStateChangeReason.BuilderstateChangeReason(InstanceFleetStateChangeReason)InstanceFleetStatus.Builder timeline(InstanceFleetTimeline timeline)
Provides historical timestamps for the instance fleet, including the time of creation, the time it became ready to run jobs, and the time of termination.
timeline - Provides historical timestamps for the instance fleet, including the time of creation, the time it
became ready to run jobs, and the time of termination.default InstanceFleetStatus.Builder timeline(Consumer<InstanceFleetTimeline.Builder> timeline)
Provides historical timestamps for the instance fleet, including the time of creation, the time it became ready to run jobs, and the time of termination.
This is a convenience that creates an instance of theInstanceFleetTimeline.Builder avoiding the need
to create one manually via InstanceFleetTimeline.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to timeline(InstanceFleetTimeline).timeline - a consumer that will call methods on InstanceFleetTimeline.Buildertimeline(InstanceFleetTimeline)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.