Class CancelledSpotInstanceRequest

    • Constructor Detail

      • CancelledSpotInstanceRequest

        public CancelledSpotInstanceRequest()
    • Method Detail

      • setSpotInstanceRequestId

        public void setSpotInstanceRequestId​(String spotInstanceRequestId)

        The ID of the Spot instance request.

        Parameters:
        spotInstanceRequestId - The ID of the Spot instance request.
      • getSpotInstanceRequestId

        public String getSpotInstanceRequestId()

        The ID of the Spot instance request.

        Returns:
        The ID of the Spot instance request.
      • withSpotInstanceRequestId

        public CancelledSpotInstanceRequest withSpotInstanceRequestId​(String spotInstanceRequestId)

        The ID of the Spot instance request.

        Parameters:
        spotInstanceRequestId - The ID of the Spot instance request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setState

        public void setState​(String state)

        The state of the Spot instance request.

        Parameters:
        state - The state of the Spot instance request.
        See Also:
        CancelSpotInstanceRequestState
      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object