Class CancelSpotFleetRequestsSuccessItem
java.lang.Object
com.amazonaws.services.ec2.model.CancelSpotFleetRequestsSuccessItem
- All Implemented Interfaces:
Serializable, Cloneable
Describes a Spot fleet request that was successfully canceled.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe current state of the Spot fleet request.The previous state of the Spot fleet request.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.toString()Returns a string representation of this object; useful for testing and debugging.withCurrentSpotFleetRequestState(BatchState currentSpotFleetRequestState) The current state of the Spot fleet request.withCurrentSpotFleetRequestState(String currentSpotFleetRequestState) The current state of the Spot fleet request.withPreviousSpotFleetRequestState(BatchState previousSpotFleetRequestState) The previous state of the Spot fleet request.withPreviousSpotFleetRequestState(String previousSpotFleetRequestState) The previous state of the Spot fleet request.withSpotFleetRequestId(String spotFleetRequestId) The ID of the Spot fleet request.
-
Constructor Details
-
CancelSpotFleetRequestsSuccessItem
public CancelSpotFleetRequestsSuccessItem()
-
-
Method Details
-
setSpotFleetRequestId
The ID of the Spot fleet request.
- Parameters:
spotFleetRequestId- The ID of the Spot fleet request.
-
getSpotFleetRequestId
The ID of the Spot fleet request.
- Returns:
- The ID of the Spot fleet request.
-
withSpotFleetRequestId
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
The current state of the Spot fleet request.
- Parameters:
currentSpotFleetRequestState- The current state of the Spot fleet request.- See Also:
-
getCurrentSpotFleetRequestState
The current state of the Spot fleet request.
- Returns:
- The current state of the Spot fleet request.
- See Also:
-
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:
-
setCurrentSpotFleetRequestState
The current state of the Spot fleet request.
- Parameters:
currentSpotFleetRequestState- The current state of the Spot fleet request.- See Also:
-
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:
-
setPreviousSpotFleetRequestState
The previous state of the Spot fleet request.
- Parameters:
previousSpotFleetRequestState- The previous state of the Spot fleet request.- See Also:
-
getPreviousSpotFleetRequestState
The previous state of the Spot fleet request.
- Returns:
- The previous state of the Spot fleet request.
- See Also:
-
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:
-
setPreviousSpotFleetRequestState
The previous state of the Spot fleet request.
- Parameters:
previousSpotFleetRequestState- The previous state of the Spot fleet request.- See Also:
-
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:
-
toString
-
equals
-
hashCode
-
clone
-