@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeReservedInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeReservedInstancesRequest>
Contains the parameters for DescribeReservedInstances.
NOOP| Constructor and Description |
|---|
DescribeReservedInstancesRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeReservedInstancesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribeReservedInstancesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
One or more filters.
|
String |
getOfferingClass()
Describes whether the Reserved Instance is Standard or Convertible.
|
String |
getOfferingType()
The Reserved Instance offering type.
|
List<String> |
getReservedInstancesIds()
One or more Reserved Instance IDs.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
One or more filters.
|
void |
setOfferingClass(OfferingClassType offeringClass)
Describes whether the Reserved Instance is Standard or Convertible.
|
void |
setOfferingClass(String offeringClass)
Describes whether the Reserved Instance is Standard or Convertible.
|
void |
setOfferingType(OfferingTypeValues offeringType)
The Reserved Instance offering type.
|
void |
setOfferingType(String offeringType)
The Reserved Instance offering type.
|
void |
setReservedInstancesIds(Collection<String> reservedInstancesIds)
One or more Reserved Instance IDs.
|
String |
toString()
Returns a string representation of this object.
|
DescribeReservedInstancesRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
DescribeReservedInstancesRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeReservedInstancesRequest |
withOfferingClass(OfferingClassType offeringClass)
Describes whether the Reserved Instance is Standard or Convertible.
|
DescribeReservedInstancesRequest |
withOfferingClass(String offeringClass)
Describes whether the Reserved Instance is Standard or Convertible.
|
DescribeReservedInstancesRequest |
withOfferingType(OfferingTypeValues offeringType)
The Reserved Instance offering type.
|
DescribeReservedInstancesRequest |
withOfferingType(String offeringType)
The Reserved Instance offering type.
|
DescribeReservedInstancesRequest |
withReservedInstancesIds(Collection<String> reservedInstancesIds)
One or more Reserved Instance IDs.
|
DescribeReservedInstancesRequest |
withReservedInstancesIds(String... reservedInstancesIds)
One or more Reserved Instance IDs.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic List<Filter> getFilters()
One or more filters.
availability-zone - The Availability Zone where the Reserved Instance can be used.
duration - The duration of the Reserved Instance (one year or three years), in seconds (
31536000 | 94608000).
end - The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).
fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).
instance-type - The instance type that is covered by the reservation.
scope - The scope of the Reserved Instance (Region or Availability Zone).
product-description - The Reserved Instance product platform description (Linux/UNIX |
Linux with SQL Server Standard | Linux with SQL Server Web |
Linux with SQL Server Enterprise | SUSE Linux | Red Hat Enterprise Linux |
Red Hat Enterprise Linux with HA | Windows |
Windows with SQL Server Standard | Windows with SQL Server Web |
Windows with SQL Server Enterprise).
reserved-instances-id - The ID of the Reserved Instance.
start - The time at which the Reserved Instance purchase request was placed (for example,
2014-08-07T11:54:42.000Z).
state - The state of the Reserved Instance (payment-pending | active |
payment-failed | retired).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner and the value TeamA, specify tag:Owner for the filter name
and TeamA for the filter value.
tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned
a tag with a specific key, regardless of the tag value.
usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).
availability-zone - The Availability Zone where the Reserved Instance can be used.
duration - The duration of the Reserved Instance (one year or three years), in seconds (
31536000 | 94608000).
end - The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).
fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).
instance-type - The instance type that is covered by the reservation.
scope - The scope of the Reserved Instance (Region or
Availability Zone).
product-description - The Reserved Instance product platform description (
Linux/UNIX | Linux with SQL Server Standard |
Linux with SQL Server Web | Linux with SQL Server Enterprise |
SUSE Linux | Red Hat Enterprise Linux |
Red Hat Enterprise Linux with HA | Windows |
Windows with SQL Server Standard | Windows with SQL Server Web |
Windows with SQL Server Enterprise).
reserved-instances-id - The ID of the Reserved Instance.
start - The time at which the Reserved Instance purchase request was placed (for example,
2014-08-07T11:54:42.000Z).
state - The state of the Reserved Instance (payment-pending |
active | payment-failed | retired).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that
have a tag with the key Owner and the value TeamA, specify
tag:Owner for the filter name and TeamA for the filter value.
tag-key - The key of a tag assigned to the resource. Use this filter to find all resources
assigned a tag with a specific key, regardless of the tag value.
usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).
public void setFilters(Collection<Filter> filters)
One or more filters.
availability-zone - The Availability Zone where the Reserved Instance can be used.
duration - The duration of the Reserved Instance (one year or three years), in seconds (
31536000 | 94608000).
end - The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).
fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).
instance-type - The instance type that is covered by the reservation.
scope - The scope of the Reserved Instance (Region or Availability Zone).
product-description - The Reserved Instance product platform description (Linux/UNIX |
Linux with SQL Server Standard | Linux with SQL Server Web |
Linux with SQL Server Enterprise | SUSE Linux | Red Hat Enterprise Linux |
Red Hat Enterprise Linux with HA | Windows |
Windows with SQL Server Standard | Windows with SQL Server Web |
Windows with SQL Server Enterprise).
reserved-instances-id - The ID of the Reserved Instance.
start - The time at which the Reserved Instance purchase request was placed (for example,
2014-08-07T11:54:42.000Z).
state - The state of the Reserved Instance (payment-pending | active |
payment-failed | retired).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner and the value TeamA, specify tag:Owner for the filter name
and TeamA for the filter value.
tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned
a tag with a specific key, regardless of the tag value.
usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).
filters - One or more filters.
availability-zone - The Availability Zone where the Reserved Instance can be used.
duration - The duration of the Reserved Instance (one year or three years), in seconds (
31536000 | 94608000).
end - The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).
fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).
instance-type - The instance type that is covered by the reservation.
scope - The scope of the Reserved Instance (Region or
Availability Zone).
product-description - The Reserved Instance product platform description (
Linux/UNIX | Linux with SQL Server Standard |
Linux with SQL Server Web | Linux with SQL Server Enterprise |
SUSE Linux | Red Hat Enterprise Linux |
Red Hat Enterprise Linux with HA | Windows |
Windows with SQL Server Standard | Windows with SQL Server Web |
Windows with SQL Server Enterprise).
reserved-instances-id - The ID of the Reserved Instance.
start - The time at which the Reserved Instance purchase request was placed (for example,
2014-08-07T11:54:42.000Z).
state - The state of the Reserved Instance (payment-pending |
active | payment-failed | retired).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that have
a tag with the key Owner and the value TeamA, specify tag:Owner for
the filter name and TeamA for the filter value.
tag-key - The key of a tag assigned to the resource. Use this filter to find all resources
assigned a tag with a specific key, regardless of the tag value.
usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).
public DescribeReservedInstancesRequest withFilters(Filter... filters)
One or more filters.
availability-zone - The Availability Zone where the Reserved Instance can be used.
duration - The duration of the Reserved Instance (one year or three years), in seconds (
31536000 | 94608000).
end - The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).
fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).
instance-type - The instance type that is covered by the reservation.
scope - The scope of the Reserved Instance (Region or Availability Zone).
product-description - The Reserved Instance product platform description (Linux/UNIX |
Linux with SQL Server Standard | Linux with SQL Server Web |
Linux with SQL Server Enterprise | SUSE Linux | Red Hat Enterprise Linux |
Red Hat Enterprise Linux with HA | Windows |
Windows with SQL Server Standard | Windows with SQL Server Web |
Windows with SQL Server Enterprise).
reserved-instances-id - The ID of the Reserved Instance.
start - The time at which the Reserved Instance purchase request was placed (for example,
2014-08-07T11:54:42.000Z).
state - The state of the Reserved Instance (payment-pending | active |
payment-failed | retired).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner and the value TeamA, specify tag:Owner for the filter name
and TeamA for the filter value.
tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned
a tag with a specific key, regardless of the tag value.
usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection) or withFilters(java.util.Collection) if you want to override
the existing values.
filters - One or more filters.
availability-zone - The Availability Zone where the Reserved Instance can be used.
duration - The duration of the Reserved Instance (one year or three years), in seconds (
31536000 | 94608000).
end - The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).
fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).
instance-type - The instance type that is covered by the reservation.
scope - The scope of the Reserved Instance (Region or
Availability Zone).
product-description - The Reserved Instance product platform description (
Linux/UNIX | Linux with SQL Server Standard |
Linux with SQL Server Web | Linux with SQL Server Enterprise |
SUSE Linux | Red Hat Enterprise Linux |
Red Hat Enterprise Linux with HA | Windows |
Windows with SQL Server Standard | Windows with SQL Server Web |
Windows with SQL Server Enterprise).
reserved-instances-id - The ID of the Reserved Instance.
start - The time at which the Reserved Instance purchase request was placed (for example,
2014-08-07T11:54:42.000Z).
state - The state of the Reserved Instance (payment-pending |
active | payment-failed | retired).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that have
a tag with the key Owner and the value TeamA, specify tag:Owner for
the filter name and TeamA for the filter value.
tag-key - The key of a tag assigned to the resource. Use this filter to find all resources
assigned a tag with a specific key, regardless of the tag value.
usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).
public DescribeReservedInstancesRequest withFilters(Collection<Filter> filters)
One or more filters.
availability-zone - The Availability Zone where the Reserved Instance can be used.
duration - The duration of the Reserved Instance (one year or three years), in seconds (
31536000 | 94608000).
end - The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).
fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).
instance-type - The instance type that is covered by the reservation.
scope - The scope of the Reserved Instance (Region or Availability Zone).
product-description - The Reserved Instance product platform description (Linux/UNIX |
Linux with SQL Server Standard | Linux with SQL Server Web |
Linux with SQL Server Enterprise | SUSE Linux | Red Hat Enterprise Linux |
Red Hat Enterprise Linux with HA | Windows |
Windows with SQL Server Standard | Windows with SQL Server Web |
Windows with SQL Server Enterprise).
reserved-instances-id - The ID of the Reserved Instance.
start - The time at which the Reserved Instance purchase request was placed (for example,
2014-08-07T11:54:42.000Z).
state - The state of the Reserved Instance (payment-pending | active |
payment-failed | retired).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner and the value TeamA, specify tag:Owner for the filter name
and TeamA for the filter value.
tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned
a tag with a specific key, regardless of the tag value.
usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).
filters - One or more filters.
availability-zone - The Availability Zone where the Reserved Instance can be used.
duration - The duration of the Reserved Instance (one year or three years), in seconds (
31536000 | 94608000).
end - The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).
fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).
instance-type - The instance type that is covered by the reservation.
scope - The scope of the Reserved Instance (Region or
Availability Zone).
product-description - The Reserved Instance product platform description (
Linux/UNIX | Linux with SQL Server Standard |
Linux with SQL Server Web | Linux with SQL Server Enterprise |
SUSE Linux | Red Hat Enterprise Linux |
Red Hat Enterprise Linux with HA | Windows |
Windows with SQL Server Standard | Windows with SQL Server Web |
Windows with SQL Server Enterprise).
reserved-instances-id - The ID of the Reserved Instance.
start - The time at which the Reserved Instance purchase request was placed (for example,
2014-08-07T11:54:42.000Z).
state - The state of the Reserved Instance (payment-pending |
active | payment-failed | retired).
tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that have
a tag with the key Owner and the value TeamA, specify tag:Owner for
the filter name and TeamA for the filter value.
tag-key - The key of a tag assigned to the resource. Use this filter to find all resources
assigned a tag with a specific key, regardless of the tag value.
usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).
public void setOfferingClass(String offeringClass)
Describes whether the Reserved Instance is Standard or Convertible.
offeringClass - Describes whether the Reserved Instance is Standard or Convertible.OfferingClassTypepublic String getOfferingClass()
Describes whether the Reserved Instance is Standard or Convertible.
OfferingClassTypepublic DescribeReservedInstancesRequest withOfferingClass(String offeringClass)
Describes whether the Reserved Instance is Standard or Convertible.
offeringClass - Describes whether the Reserved Instance is Standard or Convertible.OfferingClassTypepublic void setOfferingClass(OfferingClassType offeringClass)
Describes whether the Reserved Instance is Standard or Convertible.
offeringClass - Describes whether the Reserved Instance is Standard or Convertible.OfferingClassTypepublic DescribeReservedInstancesRequest withOfferingClass(OfferingClassType offeringClass)
Describes whether the Reserved Instance is Standard or Convertible.
offeringClass - Describes whether the Reserved Instance is Standard or Convertible.OfferingClassTypepublic List<String> getReservedInstancesIds()
One or more Reserved Instance IDs.
Default: Describes all your Reserved Instances, or only those otherwise specified.
Default: Describes all your Reserved Instances, or only those otherwise specified.
public void setReservedInstancesIds(Collection<String> reservedInstancesIds)
One or more Reserved Instance IDs.
Default: Describes all your Reserved Instances, or only those otherwise specified.
reservedInstancesIds - One or more Reserved Instance IDs.
Default: Describes all your Reserved Instances, or only those otherwise specified.
public DescribeReservedInstancesRequest withReservedInstancesIds(String... reservedInstancesIds)
One or more Reserved Instance IDs.
Default: Describes all your Reserved Instances, or only those otherwise specified.
NOTE: This method appends the values to the existing list (if any). Use
setReservedInstancesIds(java.util.Collection) or withReservedInstancesIds(java.util.Collection)
if you want to override the existing values.
reservedInstancesIds - One or more Reserved Instance IDs.
Default: Describes all your Reserved Instances, or only those otherwise specified.
public DescribeReservedInstancesRequest withReservedInstancesIds(Collection<String> reservedInstancesIds)
One or more Reserved Instance IDs.
Default: Describes all your Reserved Instances, or only those otherwise specified.
reservedInstancesIds - One or more Reserved Instance IDs.
Default: Describes all your Reserved Instances, or only those otherwise specified.
public void setOfferingType(String offeringType)
The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only
have access to the Medium Utilization Reserved Instance offering type.
offeringType - The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you
only have access to the Medium Utilization Reserved Instance offering type.OfferingTypeValuespublic String getOfferingType()
The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only
have access to the Medium Utilization Reserved Instance offering type.
Medium Utilization Reserved Instance offering type.OfferingTypeValuespublic DescribeReservedInstancesRequest withOfferingType(String offeringType)
The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only
have access to the Medium Utilization Reserved Instance offering type.
offeringType - The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you
only have access to the Medium Utilization Reserved Instance offering type.OfferingTypeValuespublic void setOfferingType(OfferingTypeValues offeringType)
The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only
have access to the Medium Utilization Reserved Instance offering type.
offeringType - The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you
only have access to the Medium Utilization Reserved Instance offering type.OfferingTypeValuespublic DescribeReservedInstancesRequest withOfferingType(OfferingTypeValues offeringType)
The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only
have access to the Medium Utilization Reserved Instance offering type.
offeringType - The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you
only have access to the Medium Utilization Reserved Instance offering type.OfferingTypeValuespublic Request<DescribeReservedInstancesRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DescribeReservedInstancesRequest>public String toString()
toString in class ObjectObject.toString()public DescribeReservedInstancesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()