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
BatchState
public 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.BatchState
public 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.BatchState
public 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.BatchState
public 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.BatchState
public java.lang.String getPreviousSpotFleetRequestState()
Constraints:
Allowed Values: submitted, active, cancelled, failed, cancelled_running, cancelled_terminating, modifying
BatchState
public 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.BatchState
public 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.BatchState
public 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.BatchState
public 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.BatchState
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.