com.amazonaws.services.ec2.model
Class DescribeReservedInstancesRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DescribeReservedInstancesRequest

public class DescribeReservedInstancesRequest
extends AmazonWebServiceRequest

Container for the parameters to the DescribeReservedInstances operation.

The DescribeReservedInstances operation describes Reserved Instances that were purchased for use with your account.

See Also:
AmazonEC2.describeReservedInstances(DescribeReservedInstancesRequest)

Constructor Summary
DescribeReservedInstancesRequest()
           
 
Method Summary
 java.util.List<Filter> getFilters()
          A list of filters used to match properties for ReservedInstances.
 java.util.List<java.lang.String> getReservedInstancesIds()
          The optional list of Reserved Instance IDs to describe.
 void setFilters(java.util.Collection<Filter> filters)
          A list of filters used to match properties for ReservedInstances.
 void setReservedInstancesIds(java.util.Collection<java.lang.String> reservedInstancesIds)
          The optional list of Reserved Instance IDs to describe.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeReservedInstancesRequest withFilters(java.util.Collection<Filter> filters)
          A list of filters used to match properties for ReservedInstances.
 DescribeReservedInstancesRequest withFilters(Filter... filters)
          A list of filters used to match properties for ReservedInstances.
 DescribeReservedInstancesRequest withReservedInstancesIds(java.util.Collection<java.lang.String> reservedInstancesIds)
          The optional list of Reserved Instance IDs to describe.
 DescribeReservedInstancesRequest withReservedInstancesIds(java.lang.String... reservedInstancesIds)
          The optional list of Reserved Instance IDs to describe.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeReservedInstancesRequest

public DescribeReservedInstancesRequest()
Method Detail

getReservedInstancesIds

public java.util.List<java.lang.String> getReservedInstancesIds()
The optional list of Reserved Instance IDs to describe.

Returns:
The optional list of Reserved Instance IDs to describe.

setReservedInstancesIds

public void setReservedInstancesIds(java.util.Collection<java.lang.String> reservedInstancesIds)
The optional list of Reserved Instance IDs to describe.

Parameters:
reservedInstancesIds - The optional list of Reserved Instance IDs to describe.

withReservedInstancesIds

public DescribeReservedInstancesRequest withReservedInstancesIds(java.lang.String... reservedInstancesIds)
The optional list of Reserved Instance IDs to describe.

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

Parameters:
reservedInstancesIds - The optional list of Reserved Instance IDs to describe.
Returns:
A reference to this updated object so that method calls can be chained together.

withReservedInstancesIds

public DescribeReservedInstancesRequest withReservedInstancesIds(java.util.Collection<java.lang.String> reservedInstancesIds)
The optional list of Reserved Instance IDs to describe.

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

Parameters:
reservedInstancesIds - The optional list of Reserved Instance IDs to describe.
Returns:
A reference to this updated object so that method calls can be chained together.

getFilters

public java.util.List<Filter> getFilters()
A list of filters used to match properties for ReservedInstances. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

Returns:
A list of filters used to match properties for ReservedInstances. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

setFilters

public void setFilters(java.util.Collection<Filter> filters)
A list of filters used to match properties for ReservedInstances. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

Parameters:
filters - A list of filters used to match properties for ReservedInstances. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

withFilters

public DescribeReservedInstancesRequest withFilters(Filter... filters)
A list of filters used to match properties for ReservedInstances. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

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

Parameters:
filters - A list of filters used to match properties for ReservedInstances. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.
Returns:
A reference to this updated object so that method calls can be chained together.

withFilters

public DescribeReservedInstancesRequest withFilters(java.util.Collection<Filter> filters)
A list of filters used to match properties for ReservedInstances. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

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

Parameters:
filters - A list of filters used to match properties for ReservedInstances. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.
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()


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