public class SpotFleetRequestConfig
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a Spot fleet request.
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
createTime
The creation date and time of the request.
|
private SpotFleetRequestConfigData |
spotFleetRequestConfig
Information about the configuration of the Spot fleet request.
|
private java.lang.String |
spotFleetRequestId
The ID of the Spot fleet request.
|
private java.lang.String |
spotFleetRequestState
The state of the Spot fleet request.
|
Constructor and Description |
---|
SpotFleetRequestConfig() |
Modifier and Type | Method and Description |
---|---|
SpotFleetRequestConfig |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreateTime()
The creation date and time of the request.
|
SpotFleetRequestConfigData |
getSpotFleetRequestConfig()
Information about the configuration of the Spot fleet request.
|
java.lang.String |
getSpotFleetRequestId()
The ID of the Spot fleet request.
|
java.lang.String |
getSpotFleetRequestState()
The state of the Spot fleet request.
|
int |
hashCode() |
void |
setCreateTime(java.util.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(java.lang.String spotFleetRequestId)
The ID of the Spot fleet request.
|
void |
setSpotFleetRequestState(BatchState spotFleetRequestState)
The state of the Spot fleet request.
|
void |
setSpotFleetRequestState(java.lang.String spotFleetRequestState)
The state of the Spot fleet request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SpotFleetRequestConfig |
withCreateTime(java.util.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(java.lang.String spotFleetRequestId)
The ID of the Spot fleet request.
|
SpotFleetRequestConfig |
withSpotFleetRequestState(BatchState spotFleetRequestState)
The state of the Spot fleet request.
|
SpotFleetRequestConfig |
withSpotFleetRequestState(java.lang.String spotFleetRequestState)
The state of the Spot fleet request.
|
private java.lang.String spotFleetRequestId
The ID of the Spot fleet request.
private java.lang.String spotFleetRequestState
The state of the Spot fleet request.
private SpotFleetRequestConfigData spotFleetRequestConfig
Information about the configuration of the Spot fleet request.
private java.util.Date createTime
The creation date and time of the request.
public void setSpotFleetRequestId(java.lang.String spotFleetRequestId)
The ID of the Spot fleet request.
spotFleetRequestId
- The ID of the Spot fleet request.public java.lang.String getSpotFleetRequestId()
The ID of the Spot fleet request.
public SpotFleetRequestConfig withSpotFleetRequestId(java.lang.String spotFleetRequestId)
The ID of the Spot fleet request.
spotFleetRequestId
- The ID of the Spot fleet request.public void setSpotFleetRequestState(java.lang.String spotFleetRequestState)
The state of the Spot fleet request.
spotFleetRequestState
- The state of the Spot fleet request.BatchState
public java.lang.String getSpotFleetRequestState()
The state of the Spot fleet request.
BatchState
public SpotFleetRequestConfig withSpotFleetRequestState(java.lang.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 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 setCreateTime(java.util.Date createTime)
The creation date and time of the request.
createTime
- The creation date and time of the request.public java.util.Date getCreateTime()
The creation date and time of the request.
public SpotFleetRequestConfig withCreateTime(java.util.Date createTime)
The creation date and time of the request.
createTime
- The creation date and time of the request.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public SpotFleetRequestConfig clone()
clone
in class java.lang.Object