public static interface InstanceFleetStatus.Builder extends SdkPojo, 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.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
InstanceFleetStatus.Builder state(String state)
A code representing the instance fleet status.
PROVISIONING
—The instance fleet is provisioning EC2 resources and is not yet ready to run jobs.
BOOTSTRAPPING
—EC2 instances and other resources have been provisioned and the bootstrap actions
specified for the instances are underway.
RUNNING
—EC2 instances and other resources are running. They are either executing jobs or waiting
to execute jobs.
RESIZING
—A resize operation is underway. EC2 instances are either being added or removed.
SUSPENDED
—A resize operation could not complete. Existing EC2 instances are running, but
instances can't be added or removed.
TERMINATING
—The instance fleet is terminating EC2 instances.
TERMINATED
—The instance fleet is no longer active, and all EC2 instances have been terminated.
state
- A code representing the instance fleet status.
PROVISIONING
—The instance fleet is provisioning EC2 resources and is not yet ready to run
jobs.
BOOTSTRAPPING
—EC2 instances and other resources have been provisioned and the bootstrap
actions specified for the instances are underway.
RUNNING
—EC2 instances and other resources are running. They are either executing jobs or
waiting to execute jobs.
RESIZING
—A resize operation is underway. EC2 instances are either being added or removed.
SUSPENDED
—A resize operation could not complete. Existing EC2 instances are running, but
instances can't be added or removed.
TERMINATING
—The instance fleet is terminating EC2 instances.
TERMINATED
—The instance fleet is no longer active, and all EC2 instances have been
terminated.
InstanceFleetState
,
InstanceFleetState
InstanceFleetStatus.Builder state(InstanceFleetState state)
A code representing the instance fleet status.
PROVISIONING
—The instance fleet is provisioning EC2 resources and is not yet ready to run jobs.
BOOTSTRAPPING
—EC2 instances and other resources have been provisioned and the bootstrap actions
specified for the instances are underway.
RUNNING
—EC2 instances and other resources are running. They are either executing jobs or waiting
to execute jobs.
RESIZING
—A resize operation is underway. EC2 instances are either being added or removed.
SUSPENDED
—A resize operation could not complete. Existing EC2 instances are running, but
instances can't be added or removed.
TERMINATING
—The instance fleet is terminating EC2 instances.
TERMINATED
—The instance fleet is no longer active, and all EC2 instances have been terminated.
state
- A code representing the instance fleet status.
PROVISIONING
—The instance fleet is provisioning EC2 resources and is not yet ready to run
jobs.
BOOTSTRAPPING
—EC2 instances and other resources have been provisioned and the bootstrap
actions specified for the instances are underway.
RUNNING
—EC2 instances and other resources are running. They are either executing jobs or
waiting to execute jobs.
RESIZING
—A resize operation is underway. EC2 instances are either being added or removed.
SUSPENDED
—A resize operation could not complete. Existing EC2 instances are running, but
instances can't be added or removed.
TERMINATING
—The instance fleet is terminating EC2 instances.
TERMINATED
—The instance fleet is no longer active, and all EC2 instances have been
terminated.
InstanceFleetState
,
InstanceFleetState
InstanceFleetStatus.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.Builder
stateChangeReason(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.Builder
timeline(InstanceFleetTimeline)
Copyright © 2020. All rights reserved.