public class CancelReservedInstancesListingRequest extends AmazonWebServiceRequest implements Serializable
CancelReservedInstancesListing operation.
Cancels the specified Reserved Instance listing in the Reserved Instance Marketplace.
For more information, see Reserved Instance Marketplace in the Amazon Elastic Compute Cloud User Guide .
| Constructor and Description |
|---|
CancelReservedInstancesListingRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getReservedInstancesListingId()
The ID of the Reserved Instance listing.
|
int |
hashCode() |
void |
setReservedInstancesListingId(String reservedInstancesListingId)
The ID of the Reserved Instance listing.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CancelReservedInstancesListingRequest |
withReservedInstancesListingId(String reservedInstancesListingId)
The ID of the Reserved Instance listing.
|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic CancelReservedInstancesListingRequest()
public String getReservedInstancesListingId()
public void setReservedInstancesListingId(String reservedInstancesListingId)
reservedInstancesListingId - The ID of the Reserved Instance listing.public CancelReservedInstancesListingRequest withReservedInstancesListingId(String reservedInstancesListingId)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesListingId - The ID of the Reserved Instance listing.public String toString()
toString in class ObjectObject.toString()Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.