public class DescribeReservedInstancesRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DescribeReservedInstancesRequest>
DescribeReservedInstances operation.
The DescribeReservedInstances operation describes Reserved Instances that were purchased for use with your account.
| Constructor and Description |
|---|
DescribeReservedInstancesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Request<DescribeReservedInstancesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
A list of filters used to match properties for ReservedInstances.
|
String |
getOfferingType()
The Reserved Instance offering type.
|
List<String> |
getReservedInstancesIds()
The optional list of Reserved Instance IDs to describe.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
A list of filters used to match properties for ReservedInstances.
|
void |
setOfferingType(OfferingTypeValues offeringType)
The Reserved Instance offering type.
|
void |
setOfferingType(String offeringType)
The Reserved Instance offering type.
|
void |
setReservedInstancesIds(Collection<String> reservedInstancesIds)
The optional list of Reserved Instance IDs to describe.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeReservedInstancesRequest |
withFilters(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(OfferingTypeValues offeringType)
The Reserved Instance offering type.
|
DescribeReservedInstancesRequest |
withOfferingType(String offeringType)
The Reserved Instance offering type.
|
DescribeReservedInstancesRequest |
withReservedInstancesIds(Collection<String> reservedInstancesIds)
The optional list of Reserved Instance IDs to describe.
|
DescribeReservedInstancesRequest |
withReservedInstancesIds(String... reservedInstancesIds)
The optional list of Reserved Instance IDs to describe.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic List<String> getReservedInstancesIds()
public void setReservedInstancesIds(Collection<String> reservedInstancesIds)
reservedInstancesIds - The optional list of Reserved Instance IDs to describe.public DescribeReservedInstancesRequest withReservedInstancesIds(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(Collection<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 List<Filter> getFilters()
public void setFilters(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(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 String getOfferingType()
Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization
OfferingTypeValuespublic void setOfferingType(String offeringType)
Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization
offeringType - The Reserved Instance offering type.OfferingTypeValuespublic DescribeReservedInstancesRequest withOfferingType(String offeringType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization
offeringType - The Reserved Instance offering type.OfferingTypeValuespublic void setOfferingType(OfferingTypeValues offeringType)
Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization
offeringType - The Reserved Instance offering type.OfferingTypeValuespublic DescribeReservedInstancesRequest withOfferingType(OfferingTypeValues offeringType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization
offeringType - The Reserved Instance offering type.OfferingTypeValuespublic Request<DescribeReservedInstancesRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DescribeReservedInstancesRequest>public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.