Interface InstanceFleetStatus.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceFleetStatus.Builder,
,InstanceFleetStatus> SdkBuilder<InstanceFleetStatus.Builder,
,InstanceFleetStatus> SdkPojo
- Enclosing class:
InstanceFleetStatus
-
Method Summary
Modifier and TypeMethodDescriptionA code representing the instance fleet status.state
(InstanceFleetState 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.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.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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
state
A code representing the instance fleet status.
-
PROVISIONING
—The instance fleet is provisioning Amazon EC2 resources and is not yet ready to run jobs. -
BOOTSTRAPPING
—Amazon EC2 instances and other resources have been provisioned and the bootstrap actions specified for the instances are underway. -
RUNNING
—Amazon EC2 instances and other resources are running. They are either executing jobs or waiting to execute jobs. -
RESIZING
—A resize operation is underway. Amazon EC2 instances are either being added or removed. -
SUSPENDED
—A resize operation could not complete. Existing Amazon EC2 instances are running, but instances can't be added or removed. -
TERMINATING
—The instance fleet is terminating Amazon EC2 instances. -
TERMINATED
—The instance fleet is no longer active, and all Amazon EC2 instances have been terminated.
- Parameters:
state
- A code representing the instance fleet status.-
PROVISIONING
—The instance fleet is provisioning Amazon EC2 resources and is not yet ready to run jobs. -
BOOTSTRAPPING
—Amazon EC2 instances and other resources have been provisioned and the bootstrap actions specified for the instances are underway. -
RUNNING
—Amazon EC2 instances and other resources are running. They are either executing jobs or waiting to execute jobs. -
RESIZING
—A resize operation is underway. Amazon EC2 instances are either being added or removed. -
SUSPENDED
—A resize operation could not complete. Existing Amazon EC2 instances are running, but instances can't be added or removed. -
TERMINATING
—The instance fleet is terminating Amazon EC2 instances. -
TERMINATED
—The instance fleet is no longer active, and all Amazon EC2 instances have been terminated.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
state
A code representing the instance fleet status.
-
PROVISIONING
—The instance fleet is provisioning Amazon EC2 resources and is not yet ready to run jobs. -
BOOTSTRAPPING
—Amazon EC2 instances and other resources have been provisioned and the bootstrap actions specified for the instances are underway. -
RUNNING
—Amazon EC2 instances and other resources are running. They are either executing jobs or waiting to execute jobs. -
RESIZING
—A resize operation is underway. Amazon EC2 instances are either being added or removed. -
SUSPENDED
—A resize operation could not complete. Existing Amazon EC2 instances are running, but instances can't be added or removed. -
TERMINATING
—The instance fleet is terminating Amazon EC2 instances. -
TERMINATED
—The instance fleet is no longer active, and all Amazon EC2 instances have been terminated.
- Parameters:
state
- A code representing the instance fleet status.-
PROVISIONING
—The instance fleet is provisioning Amazon EC2 resources and is not yet ready to run jobs. -
BOOTSTRAPPING
—Amazon EC2 instances and other resources have been provisioned and the bootstrap actions specified for the instances are underway. -
RUNNING
—Amazon EC2 instances and other resources are running. They are either executing jobs or waiting to execute jobs. -
RESIZING
—A resize operation is underway. Amazon EC2 instances are either being added or removed. -
SUSPENDED
—A resize operation could not complete. Existing Amazon EC2 instances are running, but instances can't be added or removed. -
TERMINATING
—The instance fleet is terminating Amazon EC2 instances. -
TERMINATED
—The instance fleet is no longer active, and all Amazon EC2 instances have been terminated.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
stateChangeReason
Provides status change reason details for the instance fleet.
- Parameters:
stateChangeReason
- Provides status change reason details for the instance fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateChangeReason
default InstanceFleetStatus.Builder stateChangeReason(Consumer<InstanceFleetStateChangeReason.Builder> stateChangeReason) Provides status change reason details for the instance fleet.
This is a convenience method that creates an instance of theInstanceFleetStateChangeReason.Builder
avoiding the need to create one manually viaInstanceFleetStateChangeReason.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostateChangeReason(InstanceFleetStateChangeReason)
.- Parameters:
stateChangeReason
- a consumer that will call methods onInstanceFleetStateChangeReason.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 method that creates an instance of theInstanceFleetTimeline.Builder
avoiding the need to create one manually viaInstanceFleetTimeline.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimeline(InstanceFleetTimeline)
.- Parameters:
timeline
- a consumer that will call methods onInstanceFleetTimeline.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-