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 .
NOOP
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, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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 Object
Object.toString()
Copyright © 2014. All rights reserved.