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) |
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 |
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 |
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 String getSpotFleetRequestId()
public void setSpotFleetRequestId(String spotFleetRequestId)
spotFleetRequestId
- The ID of the Spot fleet request.public SpotFleetRequestConfig withSpotFleetRequestId(String spotFleetRequestId)
Returns a reference to this object so that method calls can be chained together.
spotFleetRequestId
- The ID of the Spot fleet request.public String getSpotFleetRequestState()
Constraints:
Allowed Values: submitted, active, cancelled, failed, cancelled_running, cancelled_terminating, modifying
BatchState
public void setSpotFleetRequestState(String spotFleetRequestState)
Constraints:
Allowed Values: submitted, active, cancelled, failed, cancelled_running, cancelled_terminating, modifying
spotFleetRequestState
- The state of the Spot fleet request.BatchState
public SpotFleetRequestConfig withSpotFleetRequestState(String spotFleetRequestState)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: submitted, active, cancelled, failed, cancelled_running, cancelled_terminating, modifying
spotFleetRequestState
- The state of the Spot fleet request.BatchState
public void setSpotFleetRequestState(BatchState spotFleetRequestState)
Constraints:
Allowed Values: submitted, active, cancelled, failed, cancelled_running, cancelled_terminating, modifying
spotFleetRequestState
- The state of the Spot fleet request.BatchState
public SpotFleetRequestConfig withSpotFleetRequestState(BatchState spotFleetRequestState)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: submitted, active, cancelled, failed, cancelled_running, cancelled_terminating, modifying
spotFleetRequestState
- The state of the Spot fleet request.BatchState
public SpotFleetRequestConfigData getSpotFleetRequestConfig()
public void setSpotFleetRequestConfig(SpotFleetRequestConfigData spotFleetRequestConfig)
spotFleetRequestConfig
- Information about the configuration of the Spot fleet request.public SpotFleetRequestConfig withSpotFleetRequestConfig(SpotFleetRequestConfigData spotFleetRequestConfig)
Returns a reference to this object so that method calls can be chained together.
spotFleetRequestConfig
- Information about the configuration of the Spot fleet request.public Date getCreateTime()
public void setCreateTime(Date createTime)
createTime
- The creation date and time of the request.public SpotFleetRequestConfig withCreateTime(Date createTime)
Returns a reference to this object so that method calls can be chained together.
createTime
- The creation date and time of the request.public String toString()
toString
in class Object
Object.toString()
public SpotFleetRequestConfig clone()
Copyright © 2015. All rights reserved.