public class SpotFleetRequestConfig
extends java.lang.Object
implements java.io.Serializable
Describes a Spot fleet request.
| Constructor and Description |
|---|
SpotFleetRequestConfig() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public java.lang.String getSpotFleetRequestId()
public void setSpotFleetRequestId(java.lang.String spotFleetRequestId)
spotFleetRequestId - The ID of the Spot fleet request.public SpotFleetRequestConfig withSpotFleetRequestId(java.lang.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 java.lang.String getSpotFleetRequestState()
Constraints:
Allowed Values: submitted, active, cancelled, failed, cancelled_running, cancelled_terminating, modifying
BatchStatepublic void setSpotFleetRequestState(java.lang.String spotFleetRequestState)
Constraints:
Allowed Values: submitted, active, cancelled, failed, cancelled_running, cancelled_terminating, modifying
spotFleetRequestState - The state of the Spot fleet request.BatchStatepublic SpotFleetRequestConfig withSpotFleetRequestState(java.lang.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.BatchStatepublic void setSpotFleetRequestState(BatchState spotFleetRequestState)
Constraints:
Allowed Values: submitted, active, cancelled, failed, cancelled_running, cancelled_terminating, modifying
spotFleetRequestState - The state of the Spot fleet request.BatchStatepublic 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.BatchStatepublic 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 java.util.Date getCreateTime()
public void setCreateTime(java.util.Date createTime)
createTime - The creation date and time of the request.public SpotFleetRequestConfig withCreateTime(java.util.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.