Package com.amazonaws.services.ec2.model
Class CancelledSpotInstanceRequest
java.lang.Object
com.amazonaws.services.ec2.model.CancelledSpotInstanceRequest
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a request to cancel a Spot instance.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The ID of the Spot instance request.getState()
The state of the Spot instance request.int
hashCode()
void
setSpotInstanceRequestId
(String spotInstanceRequestId) The ID of the Spot instance request.void
The state of the Spot instance request.void
The state of the Spot instance request.toString()
Returns a string representation of this object; useful for testing and debugging.withSpotInstanceRequestId
(String spotInstanceRequestId) The ID of the Spot instance request.The state of the Spot instance request.The state of the Spot instance request.
-
Constructor Details
-
CancelledSpotInstanceRequest
public CancelledSpotInstanceRequest()
-
-
Method Details
-
setSpotInstanceRequestId
The ID of the Spot instance request.
- Parameters:
spotInstanceRequestId
- The ID of the Spot instance request.
-
getSpotInstanceRequestId
The ID of the Spot instance request.
- Returns:
- The ID of the Spot instance request.
-
withSpotInstanceRequestId
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
The state of the Spot instance request.
- Parameters:
state
- The state of the Spot instance request.- See Also:
-
getState
The state of the Spot instance request.
- Returns:
- The state of the Spot instance request.
- See Also:
-
withState
The state of the Spot instance request.
- Parameters:
state
- The state of the Spot instance request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setState
The state of the Spot instance request.
- Parameters:
state
- The state of the Spot instance request.- See Also:
-
withState
The state of the Spot instance request.
- Parameters:
state
- The state of the Spot instance request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-