public class CancelSpotFleetRequestsSuccessItem
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a Spot fleet request that was successfully canceled.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
currentSpotFleetRequestState
The current state of the Spot fleet request.
|
private java.lang.String |
previousSpotFleetRequestState
The previous state of the Spot fleet request.
|
private java.lang.String |
spotFleetRequestId
The ID of the Spot fleet request.
|
Constructor and Description |
---|
CancelSpotFleetRequestsSuccessItem() |
Modifier and Type | Method and Description |
---|---|
CancelSpotFleetRequestsSuccessItem |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCurrentSpotFleetRequestState()
The current state of the Spot fleet request.
|
java.lang.String |
getPreviousSpotFleetRequestState()
The previous state of the Spot fleet request.
|
java.lang.String |
getSpotFleetRequestId()
The ID of the Spot fleet request.
|
int |
hashCode() |
void |
setCurrentSpotFleetRequestState(BatchState currentSpotFleetRequestState)
The current state of the Spot fleet request.
|
void |
setCurrentSpotFleetRequestState(java.lang.String currentSpotFleetRequestState)
The current state of the Spot fleet request.
|
void |
setPreviousSpotFleetRequestState(BatchState previousSpotFleetRequestState)
The previous state of the Spot fleet request.
|
void |
setPreviousSpotFleetRequestState(java.lang.String previousSpotFleetRequestState)
The previous state of the Spot fleet request.
|
void |
setSpotFleetRequestId(java.lang.String spotFleetRequestId)
The ID of the Spot fleet request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CancelSpotFleetRequestsSuccessItem |
withCurrentSpotFleetRequestState(BatchState currentSpotFleetRequestState)
The current state of the Spot fleet request.
|
CancelSpotFleetRequestsSuccessItem |
withCurrentSpotFleetRequestState(java.lang.String currentSpotFleetRequestState)
The current state of the Spot fleet request.
|
CancelSpotFleetRequestsSuccessItem |
withPreviousSpotFleetRequestState(BatchState previousSpotFleetRequestState)
The previous state of the Spot fleet request.
|
CancelSpotFleetRequestsSuccessItem |
withPreviousSpotFleetRequestState(java.lang.String previousSpotFleetRequestState)
The previous state of the Spot fleet request.
|
CancelSpotFleetRequestsSuccessItem |
withSpotFleetRequestId(java.lang.String spotFleetRequestId)
The ID of the Spot fleet request.
|
private java.lang.String spotFleetRequestId
The ID of the Spot fleet request.
private java.lang.String currentSpotFleetRequestState
The current state of the Spot fleet request.
private java.lang.String previousSpotFleetRequestState
The previous state of the Spot fleet 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 CancelSpotFleetRequestsSuccessItem withSpotFleetRequestId(java.lang.String spotFleetRequestId)
The ID of the Spot fleet request.
spotFleetRequestId
- The ID of the Spot fleet request.public void setCurrentSpotFleetRequestState(java.lang.String currentSpotFleetRequestState)
The current state of the Spot fleet request.
currentSpotFleetRequestState
- The current state of the Spot fleet request.BatchState
public java.lang.String getCurrentSpotFleetRequestState()
The current state of the Spot fleet request.
BatchState
public CancelSpotFleetRequestsSuccessItem withCurrentSpotFleetRequestState(java.lang.String currentSpotFleetRequestState)
The current state of the Spot fleet request.
currentSpotFleetRequestState
- The current state of the Spot fleet request.BatchState
public void setCurrentSpotFleetRequestState(BatchState currentSpotFleetRequestState)
The current state of the Spot fleet request.
currentSpotFleetRequestState
- The current state of the Spot fleet request.BatchState
public CancelSpotFleetRequestsSuccessItem withCurrentSpotFleetRequestState(BatchState currentSpotFleetRequestState)
The current state of the Spot fleet request.
currentSpotFleetRequestState
- The current state of the Spot fleet request.BatchState
public void setPreviousSpotFleetRequestState(java.lang.String previousSpotFleetRequestState)
The previous state of the Spot fleet request.
previousSpotFleetRequestState
- The previous state of the Spot fleet request.BatchState
public java.lang.String getPreviousSpotFleetRequestState()
The previous state of the Spot fleet request.
BatchState
public CancelSpotFleetRequestsSuccessItem withPreviousSpotFleetRequestState(java.lang.String previousSpotFleetRequestState)
The previous state of the Spot fleet request.
previousSpotFleetRequestState
- The previous state of the Spot fleet request.BatchState
public void setPreviousSpotFleetRequestState(BatchState previousSpotFleetRequestState)
The previous state of the Spot fleet request.
previousSpotFleetRequestState
- The previous state of the Spot fleet request.BatchState
public CancelSpotFleetRequestsSuccessItem withPreviousSpotFleetRequestState(BatchState previousSpotFleetRequestState)
The previous state of the Spot fleet request.
previousSpotFleetRequestState
- The previous state of the Spot fleet request.BatchState
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 CancelSpotFleetRequestsSuccessItem clone()
clone
in class java.lang.Object