|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DescribeReservedInstancesRequest
public class DescribeReservedInstancesRequest
Container for the parameters to the DescribeReservedInstances operation
.
The DescribeReservedInstances operation describes Reserved Instances that were purchased for use with your account.
AmazonEC2.describeReservedInstances(DescribeReservedInstancesRequest)
Constructor Summary | |
---|---|
DescribeReservedInstancesRequest()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.List<Filter> |
getFilters()
A list of filters used to match properties for ReservedInstances. |
java.lang.String |
getOfferingType()
The Reserved Instance offering type. |
java.util.List<java.lang.String> |
getReservedInstancesIds()
The optional list of Reserved Instance IDs to describe. |
int |
hashCode()
|
void |
setFilters(java.util.Collection<Filter> filters)
A list of filters used to match properties for ReservedInstances. |
void |
setOfferingType(java.lang.String offeringType)
The Reserved Instance offering type. |
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 |
withOfferingType(java.lang.String offeringType)
The Reserved Instance offering type. |
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 |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeReservedInstancesRequest()
Method Detail |
---|
public java.util.List<java.lang.String> getReservedInstancesIds()
public void setReservedInstancesIds(java.util.Collection<java.lang.String> reservedInstancesIds)
reservedInstancesIds
- The optional list of Reserved Instance IDs to describe.public DescribeReservedInstancesRequest withReservedInstancesIds(java.lang.String... reservedInstancesIds)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesIds
- The optional list of Reserved Instance IDs to describe.
public DescribeReservedInstancesRequest withReservedInstancesIds(java.util.Collection<java.lang.String> reservedInstancesIds)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesIds
- The optional list of Reserved Instance IDs to describe.
public java.util.List<Filter> getFilters()
public void setFilters(java.util.Collection<Filter> filters)
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.public DescribeReservedInstancesRequest withFilters(Filter... filters)
Returns a reference to this object so that method calls can be chained together.
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.
public DescribeReservedInstancesRequest withFilters(java.util.Collection<Filter> filters)
Returns a reference to this object so that method calls can be chained together.
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.
public java.lang.String getOfferingType()
public void setOfferingType(java.lang.String offeringType)
offeringType
- The Reserved Instance offering type.public DescribeReservedInstancesRequest withOfferingType(java.lang.String offeringType)
Returns a reference to this object so that method calls can be chained together.
offeringType
- The Reserved Instance offering type.
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
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |