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:
  • Constructor Details

    • CancelSpotFleetRequestsSuccessItem

      public CancelSpotFleetRequestsSuccessItem()
  • Method Details

    • 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:
    • getCurrentSpotFleetRequestState

      public String 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

      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:
    • 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

      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:
    • getPreviousSpotFleetRequestState

      public String 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

      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:
    • 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

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object