public class CancelSpotFleetRequestsSuccessItem extends Object implements Serializable, Cloneable
Describes a Spot fleet request that was successfully canceled.
| Constructor and Description |
|---|
CancelSpotFleetRequestsSuccessItem() |
| Modifier and Type | Method and Description |
|---|---|
CancelSpotFleetRequestsSuccessItem |
clone() |
boolean |
equals(Object obj) |
String |
getCurrentSpotFleetRequestState()
The current state of the Spot fleet request.
|
String |
getPreviousSpotFleetRequestState()
The previous state of the Spot fleet request.
|
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(String currentSpotFleetRequestState)
The current state of the Spot fleet request.
|
void |
setPreviousSpotFleetRequestState(BatchState previousSpotFleetRequestState)
The previous state of the Spot fleet request.
|
void |
setPreviousSpotFleetRequestState(String previousSpotFleetRequestState)
The previous state of the Spot fleet request.
|
void |
setSpotFleetRequestId(String spotFleetRequestId)
The ID of the Spot fleet request.
|
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(String currentSpotFleetRequestState)
The current state of the Spot fleet request.
|
CancelSpotFleetRequestsSuccessItem |
withPreviousSpotFleetRequestState(BatchState previousSpotFleetRequestState)
The previous state of the Spot fleet request.
|
CancelSpotFleetRequestsSuccessItem |
withPreviousSpotFleetRequestState(String previousSpotFleetRequestState)
The previous state of the Spot fleet request.
|
CancelSpotFleetRequestsSuccessItem |
withSpotFleetRequestId(String spotFleetRequestId)
The ID of the Spot fleet request.
|
public String getSpotFleetRequestId()
public void setSpotFleetRequestId(String spotFleetRequestId)
spotFleetRequestId - The ID of the Spot fleet request.public CancelSpotFleetRequestsSuccessItem 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 getCurrentSpotFleetRequestState()
Constraints:
Allowed Values: submitted, active, cancelled, failed, cancelled_running, cancelled_terminating, modifying
BatchStatepublic void setCurrentSpotFleetRequestState(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(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 String getPreviousSpotFleetRequestState()
Constraints:
Allowed Values: submitted, active, cancelled, failed, cancelled_running, cancelled_terminating, modifying
BatchStatepublic void setPreviousSpotFleetRequestState(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(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 String toString()
toString in class ObjectObject.toString()public CancelSpotFleetRequestsSuccessItem clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.