public class CancelReservedInstancesListingRequest extends AmazonWebServiceRequest implements java.io.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(java.lang.Object obj) |
java.lang.String |
getReservedInstancesListingId()
The ID of the Reserved Instance listing.
|
int |
hashCode() |
void |
setReservedInstancesListingId(java.lang.String reservedInstancesListingId)
The ID of the Reserved Instance listing.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CancelReservedInstancesListingRequest |
withReservedInstancesListingId(java.lang.String reservedInstancesListingId)
The ID of the Reserved Instance listing.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public CancelReservedInstancesListingRequest()
public java.lang.String getReservedInstancesListingId()
public void setReservedInstancesListingId(java.lang.String reservedInstancesListingId)
reservedInstancesListingId
- The ID of the Reserved Instance listing.public CancelReservedInstancesListingRequest withReservedInstancesListingId(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.