com.amazonaws.services.ec2.model
Class DescribeReservedInstancesListingsRequest

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

public class DescribeReservedInstancesListingsRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the DescribeReservedInstancesListings operation.

Describes your account's Reserved Instance listings in the Reserved Instance Marketplace.

For more information, see Reserved Instance Marketplace in the Amazon Elastic Compute Cloud User Guide .

See Also:
AmazonEC2.describeReservedInstancesListings(DescribeReservedInstancesListingsRequest), Serialized Form

Constructor Summary
DescribeReservedInstancesListingsRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<Filter> getFilters()
          One or more filters.
 java.lang.String getReservedInstancesId()
          One or more Reserved Instance IDs.
 java.lang.String getReservedInstancesListingId()
          One or more Reserved Instance Listing IDs.
 int hashCode()
           
 void setFilters(java.util.Collection<Filter> filters)
          One or more filters.
 void setReservedInstancesId(java.lang.String reservedInstancesId)
          One or more Reserved Instance IDs.
 void setReservedInstancesListingId(java.lang.String reservedInstancesListingId)
          One or more Reserved Instance Listing IDs.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeReservedInstancesListingsRequest withFilters(java.util.Collection<Filter> filters)
          One or more filters.
 DescribeReservedInstancesListingsRequest withFilters(Filter... filters)
          One or more filters.
 DescribeReservedInstancesListingsRequest withReservedInstancesId(java.lang.String reservedInstancesId)
          One or more Reserved Instance IDs.
 DescribeReservedInstancesListingsRequest withReservedInstancesListingId(java.lang.String reservedInstancesListingId)
          One or more Reserved Instance Listing IDs.
 
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

DescribeReservedInstancesListingsRequest

public DescribeReservedInstancesListingsRequest()
Method Detail

getReservedInstancesId

public java.lang.String getReservedInstancesId()
One or more Reserved Instance IDs.

Returns:
One or more Reserved Instance IDs.

setReservedInstancesId

public void setReservedInstancesId(java.lang.String reservedInstancesId)
One or more Reserved Instance IDs.

Parameters:
reservedInstancesId - One or more Reserved Instance IDs.

withReservedInstancesId

public DescribeReservedInstancesListingsRequest withReservedInstancesId(java.lang.String reservedInstancesId)
One or more Reserved Instance IDs.

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

Parameters:
reservedInstancesId - One or more Reserved Instance IDs.
Returns:
A reference to this updated object so that method calls can be chained together.

getReservedInstancesListingId

public java.lang.String getReservedInstancesListingId()
One or more Reserved Instance Listing IDs.

Returns:
One or more Reserved Instance Listing IDs.

setReservedInstancesListingId

public void setReservedInstancesListingId(java.lang.String reservedInstancesListingId)
One or more Reserved Instance Listing IDs.

Parameters:
reservedInstancesListingId - One or more Reserved Instance Listing IDs.

withReservedInstancesListingId

public DescribeReservedInstancesListingsRequest withReservedInstancesListingId(java.lang.String reservedInstancesListingId)
One or more Reserved Instance Listing IDs.

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

Parameters:
reservedInstancesListingId - One or more Reserved Instance Listing IDs.
Returns:
A reference to this updated object so that method calls can be chained together.

getFilters

public java.util.List<Filter> getFilters()
One or more filters.

Returns:
One or more filters.
  • reserved-instances-id - The ID of the Reserved Instances.

  • reserved-instances-listing-id - The ID of the Reserved Instances listing.

  • status - The status of the Reserved Instance listing (pending | active | cancelled | closed).

  • status-message - The reason for the status.


setFilters

public void setFilters(java.util.Collection<Filter> filters)
One or more filters.

Parameters:
filters - One or more filters.
  • reserved-instances-id - The ID of the Reserved Instances.

  • reserved-instances-listing-id - The ID of the Reserved Instances listing.

  • status - The status of the Reserved Instance listing (pending | active | cancelled | closed).

  • status-message - The reason for the status.


withFilters

public DescribeReservedInstancesListingsRequest withFilters(Filter... filters)
One or more filters.

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

Parameters:
filters - One or more filters.
  • reserved-instances-id - The ID of the Reserved Instances.

  • reserved-instances-listing-id - The ID of the Reserved Instances listing.

  • status - The status of the Reserved Instance listing (pending | active | cancelled | closed).

  • status-message - The reason for the status.

Returns:
A reference to this updated object so that method calls can be chained together.

withFilters

public DescribeReservedInstancesListingsRequest withFilters(java.util.Collection<Filter> filters)
One or more filters.

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

Parameters:
filters - One or more filters.
  • reserved-instances-id - The ID of the Reserved Instances.

  • reserved-instances-listing-id - The ID of the Reserved Instances listing.

  • status - The status of the Reserved Instance listing (pending | active | cancelled | closed).

  • status-message - The reason for the status.

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.