@Generated(value="software.amazon.awssdk:codegen") public class SpotFleetRequestConfig extends Object implements ToCopyableBuilder<SpotFleetRequestConfig.Builder,SpotFleetRequestConfig>
Describes a Spot fleet request.
Modifier and Type | Class and Description |
---|---|
static interface |
SpotFleetRequestConfig.Builder |
Modifier and Type | Method and Description |
---|---|
ActivityStatus |
activityStatus()
The progress of the Spot fleet request.
|
String |
activityStatusString()
The progress of the Spot fleet request.
|
static SpotFleetRequestConfig.Builder |
builder() |
Instant |
createTime()
The creation date and time of the request.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends SpotFleetRequestConfig.Builder> |
serializableBuilderClass() |
SpotFleetRequestConfigData |
spotFleetRequestConfig()
Information about the configuration of the Spot fleet request.
|
String |
spotFleetRequestId()
The ID of the Spot fleet request.
|
BatchState |
spotFleetRequestState()
The state of the Spot fleet request.
|
String |
spotFleetRequestStateString()
The state of the Spot fleet request.
|
SpotFleetRequestConfig.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public ActivityStatus activityStatus()
The progress of the Spot fleet request. If there is an error, the status is error
. After all bids
are placed, the status is pending_fulfillment
. If the size of the fleet is equal to or greater than
its target capacity, the status is fulfilled
. If the size of the fleet is decreased, the status is
pending_termination
while Spot instances are terminating.
If the service returns an enum value that is not available in the current SDK version, activityStatus
will return ActivityStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from activityStatusString()
.
error
. After all
bids are placed, the status is pending_fulfillment
. If the size of the fleet is equal to or
greater than its target capacity, the status is fulfilled
. If the size of the fleet is
decreased, the status is pending_termination
while Spot instances are terminating.ActivityStatus
public String activityStatusString()
The progress of the Spot fleet request. If there is an error, the status is error
. After all bids
are placed, the status is pending_fulfillment
. If the size of the fleet is equal to or greater than
its target capacity, the status is fulfilled
. If the size of the fleet is decreased, the status is
pending_termination
while Spot instances are terminating.
If the service returns an enum value that is not available in the current SDK version, activityStatus
will return ActivityStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from activityStatusString()
.
error
. After all
bids are placed, the status is pending_fulfillment
. If the size of the fleet is equal to or
greater than its target capacity, the status is fulfilled
. If the size of the fleet is
decreased, the status is pending_termination
while Spot instances are terminating.ActivityStatus
public Instant createTime()
The creation date and time of the request.
public SpotFleetRequestConfigData spotFleetRequestConfig()
Information about the configuration of the Spot fleet request.
public String spotFleetRequestId()
The ID of the Spot fleet request.
public BatchState spotFleetRequestState()
The state of the Spot fleet request.
If the service returns an enum value that is not available in the current SDK version,
spotFleetRequestState
will return BatchState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by
the service is available from spotFleetRequestStateString()
.
BatchState
public String spotFleetRequestStateString()
The state of the Spot fleet request.
If the service returns an enum value that is not available in the current SDK version,
spotFleetRequestState
will return BatchState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by
the service is available from spotFleetRequestStateString()
.
BatchState
public SpotFleetRequestConfig.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SpotFleetRequestConfig.Builder,SpotFleetRequestConfig>
public static SpotFleetRequestConfig.Builder builder()
public static Class<? extends SpotFleetRequestConfig.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.