Package com.amazonaws.services.ec2.model
Class CancelSpotFleetRequestsSuccessItem
- java.lang.Object
-
- com.amazonaws.services.ec2.model.CancelSpotFleetRequestsSuccessItem
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class CancelSpotFleetRequestsSuccessItem extends Object implements Serializable, Cloneable
Describes a Spot fleet request that was successfully canceled.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CancelSpotFleetRequestsSuccessItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setSpotFleetRequestId
public void setSpotFleetRequestId(String spotFleetRequestId)
The ID of the Spot fleet request.
- Parameters:
spotFleetRequestId
- The ID of the Spot fleet request.
-
getSpotFleetRequestId
public String getSpotFleetRequestId()
The ID of the Spot fleet request.
- Returns:
- The ID of the Spot fleet request.
-
withSpotFleetRequestId
public CancelSpotFleetRequestsSuccessItem withSpotFleetRequestId(String spotFleetRequestId)
The ID of the Spot fleet request.
- Parameters:
spotFleetRequestId
- The ID of the Spot fleet request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCurrentSpotFleetRequestState
public void setCurrentSpotFleetRequestState(String currentSpotFleetRequestState)
The current state of the Spot fleet request.
- Parameters:
currentSpotFleetRequestState
- The current state of the Spot fleet request.- See Also:
BatchState
-
getCurrentSpotFleetRequestState
public String getCurrentSpotFleetRequestState()
The current state of the Spot fleet request.
- Returns:
- The current state of the Spot fleet request.
- See Also:
BatchState
-
withCurrentSpotFleetRequestState
public CancelSpotFleetRequestsSuccessItem withCurrentSpotFleetRequestState(String currentSpotFleetRequestState)
The current state of the Spot fleet request.
- Parameters:
currentSpotFleetRequestState
- The current state of the Spot fleet request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BatchState
-
setCurrentSpotFleetRequestState
public void setCurrentSpotFleetRequestState(BatchState currentSpotFleetRequestState)
The current state of the Spot fleet request.
- Parameters:
currentSpotFleetRequestState
- The current state of the Spot fleet request.- See Also:
BatchState
-
withCurrentSpotFleetRequestState
public CancelSpotFleetRequestsSuccessItem withCurrentSpotFleetRequestState(BatchState currentSpotFleetRequestState)
The current state of the Spot fleet request.
- Parameters:
currentSpotFleetRequestState
- The current state of the Spot fleet request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BatchState
-
setPreviousSpotFleetRequestState
public void setPreviousSpotFleetRequestState(String previousSpotFleetRequestState)
The previous state of the Spot fleet request.
- Parameters:
previousSpotFleetRequestState
- The previous state of the Spot fleet request.- See Also:
BatchState
-
getPreviousSpotFleetRequestState
public String getPreviousSpotFleetRequestState()
The previous state of the Spot fleet request.
- Returns:
- The previous state of the Spot fleet request.
- See Also:
BatchState
-
withPreviousSpotFleetRequestState
public CancelSpotFleetRequestsSuccessItem withPreviousSpotFleetRequestState(String previousSpotFleetRequestState)
The previous state of the Spot fleet request.
- Parameters:
previousSpotFleetRequestState
- The previous state of the Spot fleet request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BatchState
-
setPreviousSpotFleetRequestState
public void setPreviousSpotFleetRequestState(BatchState previousSpotFleetRequestState)
The previous state of the Spot fleet request.
- Parameters:
previousSpotFleetRequestState
- The previous state of the Spot fleet request.- See Also:
BatchState
-
withPreviousSpotFleetRequestState
public CancelSpotFleetRequestsSuccessItem withPreviousSpotFleetRequestState(BatchState previousSpotFleetRequestState)
The previous state of the Spot fleet request.
- Parameters:
previousSpotFleetRequestState
- The previous state of the Spot fleet request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BatchState
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CancelSpotFleetRequestsSuccessItem clone()
-
-