public class CancelSpotFleetRequestsSuccessItem
extends java.lang.Object
implements java.io.Serializable
Describes a Spot fleet request that was successfully canceled.
| Constructor and Description |
|---|
CancelSpotFleetRequestsSuccessItem() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public java.lang.String getSpotFleetRequestId()
public void setSpotFleetRequestId(java.lang.String spotFleetRequestId)
spotFleetRequestId - The ID of the Spot fleet request.public CancelSpotFleetRequestsSuccessItem 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 getCurrentSpotFleetRequestState()
Constraints:
Allowed Values: submitted, active, cancelled, failed, cancelled_running, cancelled_terminating, modifying
BatchStatepublic void setCurrentSpotFleetRequestState(java.lang.String currentSpotFleetRequestState)
Constraints:
Allowed Values: submitted, active, cancelled, failed, cancelled_running, cancelled_terminating, modifying
currentSpotFleetRequestState - The current state of the Spot fleet request.BatchStatepublic CancelSpotFleetRequestsSuccessItem withCurrentSpotFleetRequestState(java.lang.String currentSpotFleetRequestState)
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
currentSpotFleetRequestState - The current state of the Spot fleet request.BatchStatepublic void setCurrentSpotFleetRequestState(BatchState currentSpotFleetRequestState)
Constraints:
Allowed Values: submitted, active, cancelled, failed, cancelled_running, cancelled_terminating, modifying
currentSpotFleetRequestState - The current state of the Spot fleet request.BatchStatepublic CancelSpotFleetRequestsSuccessItem withCurrentSpotFleetRequestState(BatchState currentSpotFleetRequestState)
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
currentSpotFleetRequestState - The current state of the Spot fleet request.BatchStatepublic java.lang.String getPreviousSpotFleetRequestState()
Constraints:
Allowed Values: submitted, active, cancelled, failed, cancelled_running, cancelled_terminating, modifying
BatchStatepublic void setPreviousSpotFleetRequestState(java.lang.String previousSpotFleetRequestState)
Constraints:
Allowed Values: submitted, active, cancelled, failed, cancelled_running, cancelled_terminating, modifying
previousSpotFleetRequestState - The previous state of the Spot fleet request.BatchStatepublic CancelSpotFleetRequestsSuccessItem withPreviousSpotFleetRequestState(java.lang.String previousSpotFleetRequestState)
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
previousSpotFleetRequestState - The previous state of the Spot fleet request.BatchStatepublic void setPreviousSpotFleetRequestState(BatchState previousSpotFleetRequestState)
Constraints:
Allowed Values: submitted, active, cancelled, failed, cancelled_running, cancelled_terminating, modifying
previousSpotFleetRequestState - The previous state of the Spot fleet request.BatchStatepublic CancelSpotFleetRequestsSuccessItem withPreviousSpotFleetRequestState(BatchState previousSpotFleetRequestState)
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
previousSpotFleetRequestState - The previous state of the Spot fleet request.BatchStatepublic 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.