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 CancelSpotFleetRequestsSuccessItemclone()booleanequals(Object obj)StringgetCurrentSpotFleetRequestState()The current state of the Spot fleet request.StringgetPreviousSpotFleetRequestState()The previous state of the Spot fleet request.StringgetSpotFleetRequestId()The ID of the Spot fleet request.inthashCode()voidsetCurrentSpotFleetRequestState(BatchState currentSpotFleetRequestState)The current state of the Spot fleet request.voidsetCurrentSpotFleetRequestState(String currentSpotFleetRequestState)The current state of the Spot fleet request.voidsetPreviousSpotFleetRequestState(BatchState previousSpotFleetRequestState)The previous state of the Spot fleet request.voidsetPreviousSpotFleetRequestState(String previousSpotFleetRequestState)The previous state of the Spot fleet request.voidsetSpotFleetRequestId(String spotFleetRequestId)The ID of the Spot fleet request.StringtoString()Returns a string representation of this object; useful for testing and debugging.CancelSpotFleetRequestsSuccessItemwithCurrentSpotFleetRequestState(BatchState currentSpotFleetRequestState)The current state of the Spot fleet request.CancelSpotFleetRequestsSuccessItemwithCurrentSpotFleetRequestState(String currentSpotFleetRequestState)The current state of the Spot fleet request.CancelSpotFleetRequestsSuccessItemwithPreviousSpotFleetRequestState(BatchState previousSpotFleetRequestState)The previous state of the Spot fleet request.CancelSpotFleetRequestsSuccessItemwithPreviousSpotFleetRequestState(String previousSpotFleetRequestState)The previous state of the Spot fleet request.CancelSpotFleetRequestsSuccessItemwithSpotFleetRequestId(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CancelSpotFleetRequestsSuccessItem clone()
-
-