Package com.amazonaws.services.ec2.model
Class CancelSpotInstanceRequestsResult
java.lang.Object
com.amazonaws.services.ec2.model.CancelSpotInstanceRequestsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output of CancelSpotInstanceRequests.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
One or more Spot instance requests.int
hashCode()
void
setCancelledSpotInstanceRequests
(Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests) One or more Spot instance requests.toString()
Returns a string representation of this object; useful for testing and debugging.withCancelledSpotInstanceRequests
(CancelledSpotInstanceRequest... cancelledSpotInstanceRequests) One or more Spot instance requests.withCancelledSpotInstanceRequests
(Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests) One or more Spot instance requests.
-
Constructor Details
-
CancelSpotInstanceRequestsResult
public CancelSpotInstanceRequestsResult()
-
-
Method Details
-
getCancelledSpotInstanceRequests
One or more Spot instance requests.
- Returns:
- One or more Spot instance requests.
-
setCancelledSpotInstanceRequests
public void setCancelledSpotInstanceRequests(Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests) One or more Spot instance requests.
- Parameters:
cancelledSpotInstanceRequests
- One or more Spot instance requests.
-
withCancelledSpotInstanceRequests
public CancelSpotInstanceRequestsResult withCancelledSpotInstanceRequests(CancelledSpotInstanceRequest... cancelledSpotInstanceRequests) One or more Spot instance requests.
NOTE: This method appends the values to the existing list (if any). Use
setCancelledSpotInstanceRequests(java.util.Collection)
orwithCancelledSpotInstanceRequests(java.util.Collection)
if you want to override the existing values.- Parameters:
cancelledSpotInstanceRequests
- One or more Spot instance requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCancelledSpotInstanceRequests
public CancelSpotInstanceRequestsResult withCancelledSpotInstanceRequests(Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests) One or more Spot instance requests.
- Parameters:
cancelledSpotInstanceRequests
- One or more Spot instance requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-