@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()
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.
|
List<Tag> |
getTags()
The tags for a Spot Fleet resource.
|
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)
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.
|
void |
setTags(Collection<Tag> tags)
The tags for a Spot Fleet resource.
|
String |
toString()
Returns a string representation of this object.
|
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)
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.
|
SpotFleetRequestConfig |
withTags(Collection<Tag> tags)
The tags for a Spot Fleet resource.
|
SpotFleetRequestConfig |
withTags(Tag... tags)
The tags for a Spot Fleet resource.
|
public void setActivityStatus(String activityStatus)
The progress of the Spot Fleet request. If there is an error, the status is error
. After all
requests 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
requests 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
requests 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
requests 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
requests 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
requests 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
requests 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
requests 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
requests 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
requests 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)
The configuration of the Spot Fleet request.
spotFleetRequestConfig
- The configuration of the Spot Fleet request.public SpotFleetRequestConfigData getSpotFleetRequestConfig()
The configuration of the Spot Fleet request.
public SpotFleetRequestConfig withSpotFleetRequestConfig(SpotFleetRequestConfigData spotFleetRequestConfig)
The configuration of the Spot Fleet request.
spotFleetRequestConfig
- 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 List<Tag> getTags()
The tags for a Spot Fleet resource.
public void setTags(Collection<Tag> tags)
The tags for a Spot Fleet resource.
tags
- The tags for a Spot Fleet resource.public SpotFleetRequestConfig withTags(Tag... tags)
The tags for a Spot Fleet resource.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags for a Spot Fleet resource.public SpotFleetRequestConfig withTags(Collection<Tag> tags)
The tags for a Spot Fleet resource.
tags
- The tags for a Spot Fleet resource.public String toString()
toString
in class Object
Object.toString()
public SpotFleetRequestConfig clone()