com.amazonaws.services.ec2.model
Class CancelReservedInstancesListingRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.CancelReservedInstancesListingRequest
All Implemented Interfaces:
java.io.Serializable

public class CancelReservedInstancesListingRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the 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 .

See Also:
AmazonEC2.cancelReservedInstancesListing(CancelReservedInstancesListingRequest), Serialized Form

Constructor Summary
CancelReservedInstancesListingRequest()
           
 
Method Summary
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CancelReservedInstancesListingRequest

public CancelReservedInstancesListingRequest()
Method Detail

getReservedInstancesListingId

public java.lang.String getReservedInstancesListingId()
The ID of the Reserved Instance listing.

Returns:
The ID of the Reserved Instance listing.

setReservedInstancesListingId

public void setReservedInstancesListingId(java.lang.String reservedInstancesListingId)
The ID of the Reserved Instance listing.

Parameters:
reservedInstancesListingId - The ID of the Reserved Instance listing.

withReservedInstancesListingId

public CancelReservedInstancesListingRequest withReservedInstancesListingId(java.lang.String reservedInstancesListingId)
The ID of the Reserved Instance listing.

Returns a reference to this object so that method calls can be chained together.

Parameters:
reservedInstancesListingId - The ID of the Reserved Instance listing.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.