|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.CancelSpotInstanceRequestsRequest
public class CancelSpotInstanceRequestsRequest
Container for the parameters to the CancelSpotInstanceRequests operation
.
Cancels one or more Spot Instance requests.
Spot Instances are instances that Amazon EC2 starts on your behalf when the maximum price that you specify exceeds the current Spot Price. Amazon EC2 periodically sets the Spot Price based on available Spot Instance capacity and current spot instance requests.
For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .
AmazonEC2.cancelSpotInstanceRequests(CancelSpotInstanceRequestsRequest)
Constructor Summary | |
---|---|
CancelSpotInstanceRequestsRequest()
Default constructor for a new CancelSpotInstanceRequestsRequest object. |
|
CancelSpotInstanceRequestsRequest(List<String> spotInstanceRequestIds)
Constructs a new CancelSpotInstanceRequestsRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<String> |
getSpotInstanceRequestIds()
Specifies the ID of the Spot Instance request. |
int |
hashCode()
|
void |
setSpotInstanceRequestIds(Collection<String> spotInstanceRequestIds)
Specifies the ID of the Spot Instance request. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CancelSpotInstanceRequestsRequest |
withSpotInstanceRequestIds(Collection<String> spotInstanceRequestIds)
Specifies the ID of the Spot Instance request. |
CancelSpotInstanceRequestsRequest |
withSpotInstanceRequestIds(String... spotInstanceRequestIds)
Specifies the ID of the Spot Instance request. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CancelSpotInstanceRequestsRequest()
public CancelSpotInstanceRequestsRequest(List<String> spotInstanceRequestIds)
spotInstanceRequestIds
- Specifies the ID of the Spot Instance
request.Method Detail |
---|
public List<String> getSpotInstanceRequestIds()
public void setSpotInstanceRequestIds(Collection<String> spotInstanceRequestIds)
spotInstanceRequestIds
- Specifies the ID of the Spot Instance request.public CancelSpotInstanceRequestsRequest withSpotInstanceRequestIds(String... spotInstanceRequestIds)
Returns a reference to this object so that method calls can be chained together.
spotInstanceRequestIds
- Specifies the ID of the Spot Instance request.
public CancelSpotInstanceRequestsRequest withSpotInstanceRequestIds(Collection<String> spotInstanceRequestIds)
Returns a reference to this object so that method calls can be chained together.
spotInstanceRequestIds
- Specifies the ID of the Spot Instance request.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |