@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SpotFleetRequestConfig extends Object implements Serializable, Cloneable
Describes a Spot fleet request.
Constructor and Description |
---|
SpotFleetRequestConfig() |
Modifier and Type | Method and Description |
---|---|
SpotFleetRequestConfig |
clone() |
boolean |
equals(Object obj) |
String |
getActivityStatus()
The progress of the Spot fleet request.
|
Date |
getCreateTime()
The creation date and time of the request.
|
SpotFleetRequestConfigData |
getSpotFleetRequestConfig()
Information about the configuration of the Spot fleet request.
|
String |
getSpotFleetRequestId()
The ID of the Spot fleet request.
|
String |
getSpotFleetRequestState()
The state of the Spot fleet request.
|
int |
hashCode() |
void |
setActivityStatus(ActivityStatus activityStatus)
The progress of the Spot fleet request.
|
void |
setActivityStatus(String activityStatus)
The progress of the Spot fleet request.
|
void |
setCreateTime(Date createTime)
The creation date and time of the request.
|
void |
setSpotFleetRequestConfig(SpotFleetRequestConfigData spotFleetRequestConfig)
Information about the configuration of the Spot fleet request.
|
void |
setSpotFleetRequestId(String spotFleetRequestId)
The ID of the Spot fleet request.
|
void |
setSpotFleetRequestState(BatchState spotFleetRequestState)
The state of the Spot fleet request.
|
void |
setSpotFleetRequestState(String spotFleetRequestState)
The state of the Spot fleet request.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SpotFleetRequestConfig |
withActivityStatus(ActivityStatus activityStatus)
The progress of the Spot fleet request.
|
SpotFleetRequestConfig |
withActivityStatus(String activityStatus)
The progress of the Spot fleet request.
|
SpotFleetRequestConfig |
withCreateTime(Date createTime)
The creation date and time of the request.
|
SpotFleetRequestConfig |
withSpotFleetRequestConfig(SpotFleetRequestConfigData spotFleetRequestConfig)
Information about the configuration of the Spot fleet request.
|
SpotFleetRequestConfig |
withSpotFleetRequestId(String spotFleetRequestId)
The ID of the Spot fleet request.
|
SpotFleetRequestConfig |
withSpotFleetRequestState(BatchState spotFleetRequestState)
The state of the Spot fleet request.
|
SpotFleetRequestConfig |
withSpotFleetRequestState(String spotFleetRequestState)
The state of the Spot fleet request.
|
public void setActivityStatus(String 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.
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.ActivityStatus
public String getActivityStatus()
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.
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 SpotFleetRequestConfig withActivityStatus(String 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.
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.ActivityStatus
public void setActivityStatus(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.
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.ActivityStatus
public SpotFleetRequestConfig withActivityStatus(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.
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.ActivityStatus
public void setCreateTime(Date createTime)
The creation date and time of the request.
createTime
- The creation date and time of the request.public Date getCreateTime()
The creation date and time of the request.
public SpotFleetRequestConfig withCreateTime(Date createTime)
The creation date and time of the request.
createTime
- The creation date and time of the request.public void setSpotFleetRequestConfig(SpotFleetRequestConfigData spotFleetRequestConfig)
Information about the configuration of the Spot fleet request.
spotFleetRequestConfig
- Information about the configuration of the Spot fleet request.public SpotFleetRequestConfigData getSpotFleetRequestConfig()
Information about the configuration of the Spot fleet request.
public SpotFleetRequestConfig withSpotFleetRequestConfig(SpotFleetRequestConfigData spotFleetRequestConfig)
Information about the configuration of the Spot fleet request.
spotFleetRequestConfig
- Information about the configuration of the Spot fleet request.public void setSpotFleetRequestId(String spotFleetRequestId)
The ID of the Spot fleet request.
spotFleetRequestId
- The ID of the Spot fleet request.public String getSpotFleetRequestId()
The ID of the Spot fleet request.
public SpotFleetRequestConfig withSpotFleetRequestId(String spotFleetRequestId)
The ID of the Spot fleet request.
spotFleetRequestId
- The ID of the Spot fleet request.public void setSpotFleetRequestState(String spotFleetRequestState)
The state of the Spot fleet request.
spotFleetRequestState
- The state of the Spot fleet request.BatchState
public String getSpotFleetRequestState()
The state of the Spot fleet request.
BatchState
public SpotFleetRequestConfig withSpotFleetRequestState(String spotFleetRequestState)
The state of the Spot fleet request.
spotFleetRequestState
- The state of the Spot fleet request.BatchState
public void setSpotFleetRequestState(BatchState spotFleetRequestState)
The state of the Spot fleet request.
spotFleetRequestState
- The state of the Spot fleet request.BatchState
public SpotFleetRequestConfig withSpotFleetRequestState(BatchState spotFleetRequestState)
The state of the Spot fleet request.
spotFleetRequestState
- The state of the Spot fleet request.BatchState
public String toString()
toString
in class Object
Object.toString()
public SpotFleetRequestConfig clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.