public class DescribeReservedInstancesOfferingsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<DescribeReservedInstancesOfferingsRequest>
Contains the parameters for DescribeReservedInstancesOfferings.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
availabilityZone
The Availability Zone in which the Reserved Instance can be used.
|
private SdkInternalList<Filter> |
filters
One or more filters.
|
private java.lang.Boolean |
includeMarketplace
Include Reserved Instance Marketplace offerings in the response.
|
private java.lang.String |
instanceTenancy
The tenancy of the instances covered by the reservation.
|
private java.lang.String |
instanceType
The instance type that the reservation will cover (for example,
m1.small ). |
private java.lang.Long |
maxDuration
The maximum duration (in seconds) to filter when searching for offerings.
|
private java.lang.Integer |
maxInstanceCount
The maximum number of instances to filter when searching for offerings.
|
private java.lang.Integer |
maxResults
The maximum number of results to return for the request in a single page.
|
private java.lang.Long |
minDuration
The minimum duration (in seconds) to filter when searching for offerings.
|
private java.lang.String |
nextToken
The token to retrieve the next page of results.
|
private java.lang.String |
offeringType
The Reserved Instance offering type.
|
private java.lang.String |
productDescription
The Reserved Instance product platform description.
|
private SdkInternalList<java.lang.String> |
reservedInstancesOfferingIds
One or more Reserved Instances offering IDs.
|
NOOP
Constructor and Description |
---|
DescribeReservedInstancesOfferingsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeReservedInstancesOfferingsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAvailabilityZone()
The Availability Zone in which the Reserved Instance can be used.
|
Request<DescribeReservedInstancesOfferingsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.util.List<Filter> |
getFilters()
One or more filters.
|
java.lang.Boolean |
getIncludeMarketplace()
Include Reserved Instance Marketplace offerings in the response.
|
java.lang.String |
getInstanceTenancy()
The tenancy of the instances covered by the reservation.
|
java.lang.String |
getInstanceType()
The instance type that the reservation will cover (for example,
m1.small ). |
java.lang.Long |
getMaxDuration()
The maximum duration (in seconds) to filter when searching for offerings.
|
java.lang.Integer |
getMaxInstanceCount()
The maximum number of instances to filter when searching for offerings.
|
java.lang.Integer |
getMaxResults()
The maximum number of results to return for the request in a single page.
|
java.lang.Long |
getMinDuration()
The minimum duration (in seconds) to filter when searching for offerings.
|
java.lang.String |
getNextToken()
The token to retrieve the next page of results.
|
java.lang.String |
getOfferingType()
The Reserved Instance offering type.
|
java.lang.String |
getProductDescription()
The Reserved Instance product platform description.
|
java.util.List<java.lang.String> |
getReservedInstancesOfferingIds()
One or more Reserved Instances offering IDs.
|
int |
hashCode() |
java.lang.Boolean |
isIncludeMarketplace()
Include Reserved Instance Marketplace offerings in the response.
|
void |
setAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone in which the Reserved Instance can be used.
|
void |
setFilters(java.util.Collection<Filter> filters)
One or more filters.
|
void |
setIncludeMarketplace(java.lang.Boolean includeMarketplace)
Include Reserved Instance Marketplace offerings in the response.
|
void |
setInstanceTenancy(java.lang.String instanceTenancy)
The tenancy of the instances covered by the reservation.
|
void |
setInstanceTenancy(Tenancy instanceTenancy)
The tenancy of the instances covered by the reservation.
|
void |
setInstanceType(InstanceType instanceType)
The instance type that the reservation will cover (for example,
m1.small ). |
void |
setInstanceType(java.lang.String instanceType)
The instance type that the reservation will cover (for example,
m1.small ). |
void |
setMaxDuration(java.lang.Long maxDuration)
The maximum duration (in seconds) to filter when searching for offerings.
|
void |
setMaxInstanceCount(java.lang.Integer maxInstanceCount)
The maximum number of instances to filter when searching for offerings.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return for the request in a single page.
|
void |
setMinDuration(java.lang.Long minDuration)
The minimum duration (in seconds) to filter when searching for offerings.
|
void |
setNextToken(java.lang.String nextToken)
The token to retrieve the next page of results.
|
void |
setOfferingType(OfferingTypeValues offeringType)
The Reserved Instance offering type.
|
void |
setOfferingType(java.lang.String offeringType)
The Reserved Instance offering type.
|
void |
setProductDescription(RIProductDescription productDescription)
The Reserved Instance product platform description.
|
void |
setProductDescription(java.lang.String productDescription)
The Reserved Instance product platform description.
|
void |
setReservedInstancesOfferingIds(java.util.Collection<java.lang.String> reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeReservedInstancesOfferingsRequest |
withAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone in which the Reserved Instance can be used.
|
DescribeReservedInstancesOfferingsRequest |
withFilters(java.util.Collection<Filter> filters)
One or more filters.
|
DescribeReservedInstancesOfferingsRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeReservedInstancesOfferingsRequest |
withIncludeMarketplace(java.lang.Boolean includeMarketplace)
Include Reserved Instance Marketplace offerings in the response.
|
DescribeReservedInstancesOfferingsRequest |
withInstanceTenancy(java.lang.String instanceTenancy)
The tenancy of the instances covered by the reservation.
|
DescribeReservedInstancesOfferingsRequest |
withInstanceTenancy(Tenancy instanceTenancy)
The tenancy of the instances covered by the reservation.
|
DescribeReservedInstancesOfferingsRequest |
withInstanceType(InstanceType instanceType)
The instance type that the reservation will cover (for example,
m1.small ). |
DescribeReservedInstancesOfferingsRequest |
withInstanceType(java.lang.String instanceType)
The instance type that the reservation will cover (for example,
m1.small ). |
DescribeReservedInstancesOfferingsRequest |
withMaxDuration(java.lang.Long maxDuration)
The maximum duration (in seconds) to filter when searching for offerings.
|
DescribeReservedInstancesOfferingsRequest |
withMaxInstanceCount(java.lang.Integer maxInstanceCount)
The maximum number of instances to filter when searching for offerings.
|
DescribeReservedInstancesOfferingsRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return for the request in a single page.
|
DescribeReservedInstancesOfferingsRequest |
withMinDuration(java.lang.Long minDuration)
The minimum duration (in seconds) to filter when searching for offerings.
|
DescribeReservedInstancesOfferingsRequest |
withNextToken(java.lang.String nextToken)
The token to retrieve the next page of results.
|
DescribeReservedInstancesOfferingsRequest |
withOfferingType(OfferingTypeValues offeringType)
The Reserved Instance offering type.
|
DescribeReservedInstancesOfferingsRequest |
withOfferingType(java.lang.String offeringType)
The Reserved Instance offering type.
|
DescribeReservedInstancesOfferingsRequest |
withProductDescription(RIProductDescription productDescription)
The Reserved Instance product platform description.
|
DescribeReservedInstancesOfferingsRequest |
withProductDescription(java.lang.String productDescription)
The Reserved Instance product platform description.
|
DescribeReservedInstancesOfferingsRequest |
withReservedInstancesOfferingIds(java.util.Collection<java.lang.String> reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.
|
DescribeReservedInstancesOfferingsRequest |
withReservedInstancesOfferingIds(java.lang.String... reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private SdkInternalList<java.lang.String> reservedInstancesOfferingIds
One or more Reserved Instances offering IDs.
private java.lang.String instanceType
The instance type that the reservation will cover (for example,
m1.small
). For more information, see Instance Types in the Amazon Elastic Compute Cloud User
Guide.
private java.lang.String availabilityZone
The Availability Zone in which the Reserved Instance can be used.
private java.lang.String productDescription
The Reserved Instance product platform description. Instances that
include (Amazon VPC)
in the description are for use with
Amazon VPC.
private SdkInternalList<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 (for
example, one year or three years), in seconds (31536000
|
94608000
).
fixed-price
- The purchase price of the Reserved Instance
(for example, 9800.0).
instance-type
- The instance type that is covered by the
reservation.
marketplace
- Set to true
to show only Reserved
Instance Marketplace offerings. When this filter is not used, which is
the default behavior, all offerings from both AWS and the Reserved
Instance Marketplace are listed.
product-description
- The Reserved Instance product platform
description. Instances that include (Amazon VPC)
in the
product platform description will only be displayed to EC2-Classic
account holders and are for use with Amazon VPC. (Linux/UNIX
| Linux/UNIX (Amazon VPC)
| SUSE Linux
|
SUSE Linux (Amazon VPC)
|
Red Hat Enterprise Linux
|
Red Hat Enterprise Linux (Amazon VPC)
| Windows
| Windows (Amazon VPC)
|
Windows with SQL Server Standard
|
Windows with SQL Server Standard (Amazon VPC)
|
Windows with SQL Server Web
|
Windows with SQL Server Web (Amazon VPC)
|
Windows with SQL Server Enterprise
|
Windows with SQL Server Enterprise (Amazon VPC)
)
reserved-instances-offering-id
- The Reserved Instances
offering ID.
usage-price
- The usage price of the Reserved Instance, per
hour (for example, 0.84).
private java.lang.String instanceTenancy
The tenancy of the instances covered by the reservation. A Reserved
Instance with a tenancy of dedicated
is applied to instances
that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).
Default: default
private java.lang.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.
private java.lang.String nextToken
The token to retrieve the next page of results.
private java.lang.Integer maxResults
The maximum number of results to return for the request in a single page.
The remaining results of the initial request can be seen by sending
another request with the returned NextToken
value. The
maximum is 100.
Default: 100
private java.lang.Boolean includeMarketplace
Include Reserved Instance Marketplace offerings in the response.
private java.lang.Long minDuration
The minimum duration (in seconds) to filter when searching for offerings.
Default: 2592000 (1 month)
private java.lang.Long maxDuration
The maximum duration (in seconds) to filter when searching for offerings.
Default: 94608000 (3 years)
private java.lang.Integer maxInstanceCount
The maximum number of instances to filter when searching for offerings.
Default: 20
public DescribeReservedInstancesOfferingsRequest()
public java.util.List<java.lang.String> getReservedInstancesOfferingIds()
One or more Reserved Instances offering IDs.
public void setReservedInstancesOfferingIds(java.util.Collection<java.lang.String> reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.
reservedInstancesOfferingIds
- One or more Reserved Instances offering IDs.public DescribeReservedInstancesOfferingsRequest withReservedInstancesOfferingIds(java.lang.String... reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.
NOTE: This method appends the values to the existing list (if
any). Use setReservedInstancesOfferingIds(java.util.Collection)
or withReservedInstancesOfferingIds(java.util.Collection)
if you
want to override the existing values.
reservedInstancesOfferingIds
- One or more Reserved Instances offering IDs.public DescribeReservedInstancesOfferingsRequest withReservedInstancesOfferingIds(java.util.Collection<java.lang.String> reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.
reservedInstancesOfferingIds
- One or more Reserved Instances offering IDs.public void setInstanceType(java.lang.String instanceType)
The instance type that the reservation will cover (for example,
m1.small
). For more information, see Instance Types in the Amazon Elastic Compute Cloud User
Guide.
instanceType
- The instance type that the reservation will cover (for example,
m1.small
). For more information, see Instance Types in the Amazon Elastic Compute Cloud User
Guide.InstanceType
public java.lang.String getInstanceType()
The instance type that the reservation will cover (for example,
m1.small
). For more information, see Instance Types in the Amazon Elastic Compute Cloud User
Guide.
m1.small
). For more information, see Instance Types in the Amazon Elastic Compute Cloud User
Guide.InstanceType
public DescribeReservedInstancesOfferingsRequest withInstanceType(java.lang.String instanceType)
The instance type that the reservation will cover (for example,
m1.small
). For more information, see Instance Types in the Amazon Elastic Compute Cloud User
Guide.
instanceType
- The instance type that the reservation will cover (for example,
m1.small
). For more information, see Instance Types in the Amazon Elastic Compute Cloud User
Guide.InstanceType
public void setInstanceType(InstanceType instanceType)
The instance type that the reservation will cover (for example,
m1.small
). For more information, see Instance Types in the Amazon Elastic Compute Cloud User
Guide.
instanceType
- The instance type that the reservation will cover (for example,
m1.small
). For more information, see Instance Types in the Amazon Elastic Compute Cloud User
Guide.InstanceType
public DescribeReservedInstancesOfferingsRequest withInstanceType(InstanceType instanceType)
The instance type that the reservation will cover (for example,
m1.small
). For more information, see Instance Types in the Amazon Elastic Compute Cloud User
Guide.
instanceType
- The instance type that the reservation will cover (for example,
m1.small
). For more information, see Instance Types in the Amazon Elastic Compute Cloud User
Guide.InstanceType
public void setAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone in which the Reserved Instance can be used.
availabilityZone
- The Availability Zone in which the Reserved Instance can be used.public java.lang.String getAvailabilityZone()
The Availability Zone in which the Reserved Instance can be used.
public DescribeReservedInstancesOfferingsRequest withAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone in which the Reserved Instance can be used.
availabilityZone
- The Availability Zone in which the Reserved Instance can be used.public void setProductDescription(java.lang.String productDescription)
The Reserved Instance product platform description. Instances that
include (Amazon VPC)
in the description are for use with
Amazon VPC.
productDescription
- The Reserved Instance product platform description. Instances that
include (Amazon VPC)
in the description are for use
with Amazon VPC.RIProductDescription
public java.lang.String getProductDescription()
The Reserved Instance product platform description. Instances that
include (Amazon VPC)
in the description are for use with
Amazon VPC.
(Amazon VPC)
in the description are for
use with Amazon VPC.RIProductDescription
public DescribeReservedInstancesOfferingsRequest withProductDescription(java.lang.String productDescription)
The Reserved Instance product platform description. Instances that
include (Amazon VPC)
in the description are for use with
Amazon VPC.
productDescription
- The Reserved Instance product platform description. Instances that
include (Amazon VPC)
in the description are for use
with Amazon VPC.RIProductDescription
public void setProductDescription(RIProductDescription productDescription)
The Reserved Instance product platform description. Instances that
include (Amazon VPC)
in the description are for use with
Amazon VPC.
productDescription
- The Reserved Instance product platform description. Instances that
include (Amazon VPC)
in the description are for use
with Amazon VPC.RIProductDescription
public DescribeReservedInstancesOfferingsRequest withProductDescription(RIProductDescription productDescription)
The Reserved Instance product platform description. Instances that
include (Amazon VPC)
in the description are for use with
Amazon VPC.
productDescription
- The Reserved Instance product platform description. Instances that
include (Amazon VPC)
in the description are for use
with Amazon VPC.RIProductDescription
public java.util.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 (for
example, one year or three years), in seconds (31536000
|
94608000
).
fixed-price
- The purchase price of the Reserved Instance
(for example, 9800.0).
instance-type
- The instance type that is covered by the
reservation.
marketplace
- Set to true
to show only Reserved
Instance Marketplace offerings. When this filter is not used, which is
the default behavior, all offerings from both AWS and the Reserved
Instance Marketplace are listed.
product-description
- The Reserved Instance product platform
description. Instances that include (Amazon VPC)
in the
product platform description will only be displayed to EC2-Classic
account holders and are for use with Amazon VPC. (Linux/UNIX
| Linux/UNIX (Amazon VPC)
| SUSE Linux
|
SUSE Linux (Amazon VPC)
|
Red Hat Enterprise Linux
|
Red Hat Enterprise Linux (Amazon VPC)
| Windows
| Windows (Amazon VPC)
|
Windows with SQL Server Standard
|
Windows with SQL Server Standard (Amazon VPC)
|
Windows with SQL Server Web
|
Windows with SQL Server Web (Amazon VPC)
|
Windows with SQL Server Enterprise
|
Windows with SQL Server Enterprise (Amazon VPC)
)
reserved-instances-offering-id
- The Reserved Instances
offering ID.
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
(for example, one year or three years), in seconds (
31536000
| 94608000
).
fixed-price
- The purchase price of the Reserved
Instance (for example, 9800.0).
instance-type
- The instance type that is covered by
the reservation.
marketplace
- Set to true
to show only
Reserved Instance Marketplace offerings. When this filter is not
used, which is the default behavior, all offerings from both AWS
and the Reserved Instance Marketplace are listed.
product-description
- The Reserved Instance product
platform description. Instances that include
(Amazon VPC)
in the product platform description
will only be displayed to EC2-Classic account holders and are for
use with Amazon VPC. (Linux/UNIX
|
Linux/UNIX (Amazon VPC)
| SUSE Linux
|
SUSE Linux (Amazon VPC)
|
Red Hat Enterprise Linux
|
Red Hat Enterprise Linux (Amazon VPC)
|
Windows
| Windows (Amazon VPC)
|
Windows with SQL Server Standard
|
Windows with SQL Server Standard (Amazon VPC)
|
Windows with SQL Server Web
|
Windows with SQL Server Web (Amazon VPC)
|
Windows with SQL Server Enterprise
|
Windows with SQL Server Enterprise (Amazon VPC)
)
reserved-instances-offering-id
- The Reserved
Instances offering ID.
usage-price
- The usage price of the Reserved
Instance, per hour (for example, 0.84).
public void setFilters(java.util.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 (for
example, one year or three years), in seconds (31536000
|
94608000
).
fixed-price
- The purchase price of the Reserved Instance
(for example, 9800.0).
instance-type
- The instance type that is covered by the
reservation.
marketplace
- Set to true
to show only Reserved
Instance Marketplace offerings. When this filter is not used, which is
the default behavior, all offerings from both AWS and the Reserved
Instance Marketplace are listed.
product-description
- The Reserved Instance product platform
description. Instances that include (Amazon VPC)
in the
product platform description will only be displayed to EC2-Classic
account holders and are for use with Amazon VPC. (Linux/UNIX
| Linux/UNIX (Amazon VPC)
| SUSE Linux
|
SUSE Linux (Amazon VPC)
|
Red Hat Enterprise Linux
|
Red Hat Enterprise Linux (Amazon VPC)
| Windows
| Windows (Amazon VPC)
|
Windows with SQL Server Standard
|
Windows with SQL Server Standard (Amazon VPC)
|
Windows with SQL Server Web
|
Windows with SQL Server Web (Amazon VPC)
|
Windows with SQL Server Enterprise
|
Windows with SQL Server Enterprise (Amazon VPC)
)
reserved-instances-offering-id
- The Reserved Instances
offering ID.
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 (for
example, one year or three years), in seconds (
31536000
| 94608000
).
fixed-price
- The purchase price of the Reserved
Instance (for example, 9800.0).
instance-type
- The instance type that is covered by
the reservation.
marketplace
- Set to true
to show only
Reserved Instance Marketplace offerings. When this filter is not
used, which is the default behavior, all offerings from both AWS
and the Reserved Instance Marketplace are listed.
product-description
- The Reserved Instance product
platform description. Instances that include
(Amazon VPC)
in the product platform description will
only be displayed to EC2-Classic account holders and are for use
with Amazon VPC. (Linux/UNIX
|
Linux/UNIX (Amazon VPC)
| SUSE Linux
|
SUSE Linux (Amazon VPC)
|
Red Hat Enterprise Linux
|
Red Hat Enterprise Linux (Amazon VPC)
|
Windows
| Windows (Amazon VPC)
|
Windows with SQL Server Standard
|
Windows with SQL Server Standard (Amazon VPC)
|
Windows with SQL Server Web
|
Windows with SQL Server Web (Amazon VPC)
|
Windows with SQL Server Enterprise
|
Windows with SQL Server Enterprise (Amazon VPC)
)
reserved-instances-offering-id
- The Reserved
Instances offering ID.
usage-price
- The usage price of the Reserved
Instance, per hour (for example, 0.84).
public DescribeReservedInstancesOfferingsRequest 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 (for
example, one year or three years), in seconds (31536000
|
94608000
).
fixed-price
- The purchase price of the Reserved Instance
(for example, 9800.0).
instance-type
- The instance type that is covered by the
reservation.
marketplace
- Set to true
to show only Reserved
Instance Marketplace offerings. When this filter is not used, which is
the default behavior, all offerings from both AWS and the Reserved
Instance Marketplace are listed.
product-description
- The Reserved Instance product platform
description. Instances that include (Amazon VPC)
in the
product platform description will only be displayed to EC2-Classic
account holders and are for use with Amazon VPC. (Linux/UNIX
| Linux/UNIX (Amazon VPC)
| SUSE Linux
|
SUSE Linux (Amazon VPC)
|
Red Hat Enterprise Linux
|
Red Hat Enterprise Linux (Amazon VPC)
| Windows
| Windows (Amazon VPC)
|
Windows with SQL Server Standard
|
Windows with SQL Server Standard (Amazon VPC)
|
Windows with SQL Server Web
|
Windows with SQL Server Web (Amazon VPC)
|
Windows with SQL Server Enterprise
|
Windows with SQL Server Enterprise (Amazon VPC)
)
reserved-instances-offering-id
- The Reserved Instances
offering ID.
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 (for
example, one year or three years), in seconds (
31536000
| 94608000
).
fixed-price
- The purchase price of the Reserved
Instance (for example, 9800.0).
instance-type
- The instance type that is covered by
the reservation.
marketplace
- Set to true
to show only
Reserved Instance Marketplace offerings. When this filter is not
used, which is the default behavior, all offerings from both AWS
and the Reserved Instance Marketplace are listed.
product-description
- The Reserved Instance product
platform description. Instances that include
(Amazon VPC)
in the product platform description will
only be displayed to EC2-Classic account holders and are for use
with Amazon VPC. (Linux/UNIX
|
Linux/UNIX (Amazon VPC)
| SUSE Linux
|
SUSE Linux (Amazon VPC)
|
Red Hat Enterprise Linux
|
Red Hat Enterprise Linux (Amazon VPC)
|
Windows
| Windows (Amazon VPC)
|
Windows with SQL Server Standard
|
Windows with SQL Server Standard (Amazon VPC)
|
Windows with SQL Server Web
|
Windows with SQL Server Web (Amazon VPC)
|
Windows with SQL Server Enterprise
|
Windows with SQL Server Enterprise (Amazon VPC)
)
reserved-instances-offering-id
- The Reserved
Instances offering ID.
usage-price
- The usage price of the Reserved
Instance, per hour (for example, 0.84).
public DescribeReservedInstancesOfferingsRequest withFilters(java.util.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 (for
example, one year or three years), in seconds (31536000
|
94608000
).
fixed-price
- The purchase price of the Reserved Instance
(for example, 9800.0).
instance-type
- The instance type that is covered by the
reservation.
marketplace
- Set to true
to show only Reserved
Instance Marketplace offerings. When this filter is not used, which is
the default behavior, all offerings from both AWS and the Reserved
Instance Marketplace are listed.
product-description
- The Reserved Instance product platform
description. Instances that include (Amazon VPC)
in the
product platform description will only be displayed to EC2-Classic
account holders and are for use with Amazon VPC. (Linux/UNIX
| Linux/UNIX (Amazon VPC)
| SUSE Linux
|
SUSE Linux (Amazon VPC)
|
Red Hat Enterprise Linux
|
Red Hat Enterprise Linux (Amazon VPC)
| Windows
| Windows (Amazon VPC)
|
Windows with SQL Server Standard
|
Windows with SQL Server Standard (Amazon VPC)
|
Windows with SQL Server Web
|
Windows with SQL Server Web (Amazon VPC)
|
Windows with SQL Server Enterprise
|
Windows with SQL Server Enterprise (Amazon VPC)
)
reserved-instances-offering-id
- The Reserved Instances
offering ID.
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 (for
example, one year or three years), in seconds (
31536000
| 94608000
).
fixed-price
- The purchase price of the Reserved
Instance (for example, 9800.0).
instance-type
- The instance type that is covered by
the reservation.
marketplace
- Set to true
to show only
Reserved Instance Marketplace offerings. When this filter is not
used, which is the default behavior, all offerings from both AWS
and the Reserved Instance Marketplace are listed.
product-description
- The Reserved Instance product
platform description. Instances that include
(Amazon VPC)
in the product platform description will
only be displayed to EC2-Classic account holders and are for use
with Amazon VPC. (Linux/UNIX
|
Linux/UNIX (Amazon VPC)
| SUSE Linux
|
SUSE Linux (Amazon VPC)
|
Red Hat Enterprise Linux
|
Red Hat Enterprise Linux (Amazon VPC)
|
Windows
| Windows (Amazon VPC)
|
Windows with SQL Server Standard
|
Windows with SQL Server Standard (Amazon VPC)
|
Windows with SQL Server Web
|
Windows with SQL Server Web (Amazon VPC)
|
Windows with SQL Server Enterprise
|
Windows with SQL Server Enterprise (Amazon VPC)
)
reserved-instances-offering-id
- The Reserved
Instances offering ID.
usage-price
- The usage price of the Reserved
Instance, per hour (for example, 0.84).
public void setInstanceTenancy(java.lang.String instanceTenancy)
The tenancy of the instances covered by the reservation. A Reserved
Instance with a tenancy of dedicated
is applied to instances
that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).
Default: default
instanceTenancy
- The tenancy of the instances covered by the reservation. A
Reserved Instance with a tenancy of dedicated
is
applied to instances that run in a VPC on single-tenant hardware
(i.e., Dedicated Instances).
Default: default
Tenancy
public java.lang.String getInstanceTenancy()
The tenancy of the instances covered by the reservation. A Reserved
Instance with a tenancy of dedicated
is applied to instances
that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).
Default: default
dedicated
is
applied to instances that run in a VPC on single-tenant hardware
(i.e., Dedicated Instances).
Default: default
Tenancy
public DescribeReservedInstancesOfferingsRequest withInstanceTenancy(java.lang.String instanceTenancy)
The tenancy of the instances covered by the reservation. A Reserved
Instance with a tenancy of dedicated
is applied to instances
that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).
Default: default
instanceTenancy
- The tenancy of the instances covered by the reservation. A
Reserved Instance with a tenancy of dedicated
is
applied to instances that run in a VPC on single-tenant hardware
(i.e., Dedicated Instances).
Default: default
Tenancy
public void setInstanceTenancy(Tenancy instanceTenancy)
The tenancy of the instances covered by the reservation. A Reserved
Instance with a tenancy of dedicated
is applied to instances
that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).
Default: default
instanceTenancy
- The tenancy of the instances covered by the reservation. A
Reserved Instance with a tenancy of dedicated
is
applied to instances that run in a VPC on single-tenant hardware
(i.e., Dedicated Instances).
Default: default
Tenancy
public DescribeReservedInstancesOfferingsRequest withInstanceTenancy(Tenancy instanceTenancy)
The tenancy of the instances covered by the reservation. A Reserved
Instance with a tenancy of dedicated
is applied to instances
that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).
Default: default
instanceTenancy
- The tenancy of the instances covered by the reservation. A
Reserved Instance with a tenancy of dedicated
is
applied to instances that run in a VPC on single-tenant hardware
(i.e., Dedicated Instances).
Default: default
Tenancy
public void setOfferingType(java.lang.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.OfferingTypeValues
public java.lang.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.OfferingTypeValues
public DescribeReservedInstancesOfferingsRequest withOfferingType(java.lang.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.OfferingTypeValues
public 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.OfferingTypeValues
public DescribeReservedInstancesOfferingsRequest 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.OfferingTypeValues
public void setNextToken(java.lang.String nextToken)
The token to retrieve the next page of results.
nextToken
- The token to retrieve the next page of results.public java.lang.String getNextToken()
The token to retrieve the next page of results.
public DescribeReservedInstancesOfferingsRequest withNextToken(java.lang.String nextToken)
The token to retrieve the next page of results.
nextToken
- The token to retrieve the next page of results.public void setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return for the request in a single page.
The remaining results of the initial request can be seen by sending
another request with the returned NextToken
value. The
maximum is 100.
Default: 100
maxResults
- The maximum number of results to return for the request in a
single page. The remaining results of the initial request can be
seen by sending another request with the returned
NextToken
value. The maximum is 100.
Default: 100
public java.lang.Integer getMaxResults()
The maximum number of results to return for the request in a single page.
The remaining results of the initial request can be seen by sending
another request with the returned NextToken
value. The
maximum is 100.
Default: 100
NextToken
value. The maximum is 100.
Default: 100
public DescribeReservedInstancesOfferingsRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return for the request in a single page.
The remaining results of the initial request can be seen by sending
another request with the returned NextToken
value. The
maximum is 100.
Default: 100
maxResults
- The maximum number of results to return for the request in a
single page. The remaining results of the initial request can be
seen by sending another request with the returned
NextToken
value. The maximum is 100.
Default: 100
public void setIncludeMarketplace(java.lang.Boolean includeMarketplace)
Include Reserved Instance Marketplace offerings in the response.
includeMarketplace
- Include Reserved Instance Marketplace offerings in the response.public java.lang.Boolean getIncludeMarketplace()
Include Reserved Instance Marketplace offerings in the response.
public DescribeReservedInstancesOfferingsRequest withIncludeMarketplace(java.lang.Boolean includeMarketplace)
Include Reserved Instance Marketplace offerings in the response.
includeMarketplace
- Include Reserved Instance Marketplace offerings in the response.public java.lang.Boolean isIncludeMarketplace()
Include Reserved Instance Marketplace offerings in the response.
public void setMinDuration(java.lang.Long minDuration)
The minimum duration (in seconds) to filter when searching for offerings.
Default: 2592000 (1 month)
minDuration
- The minimum duration (in seconds) to filter when searching for
offerings.
Default: 2592000 (1 month)
public java.lang.Long getMinDuration()
The minimum duration (in seconds) to filter when searching for offerings.
Default: 2592000 (1 month)
Default: 2592000 (1 month)
public DescribeReservedInstancesOfferingsRequest withMinDuration(java.lang.Long minDuration)
The minimum duration (in seconds) to filter when searching for offerings.
Default: 2592000 (1 month)
minDuration
- The minimum duration (in seconds) to filter when searching for
offerings.
Default: 2592000 (1 month)
public void setMaxDuration(java.lang.Long maxDuration)
The maximum duration (in seconds) to filter when searching for offerings.
Default: 94608000 (3 years)
maxDuration
- The maximum duration (in seconds) to filter when searching for
offerings.
Default: 94608000 (3 years)
public java.lang.Long getMaxDuration()
The maximum duration (in seconds) to filter when searching for offerings.
Default: 94608000 (3 years)
Default: 94608000 (3 years)
public DescribeReservedInstancesOfferingsRequest withMaxDuration(java.lang.Long maxDuration)
The maximum duration (in seconds) to filter when searching for offerings.
Default: 94608000 (3 years)
maxDuration
- The maximum duration (in seconds) to filter when searching for
offerings.
Default: 94608000 (3 years)
public void setMaxInstanceCount(java.lang.Integer maxInstanceCount)
The maximum number of instances to filter when searching for offerings.
Default: 20
maxInstanceCount
- The maximum number of instances to filter when searching for
offerings.
Default: 20
public java.lang.Integer getMaxInstanceCount()
The maximum number of instances to filter when searching for offerings.
Default: 20
Default: 20
public DescribeReservedInstancesOfferingsRequest withMaxInstanceCount(java.lang.Integer maxInstanceCount)
The maximum number of instances to filter when searching for offerings.
Default: 20
maxInstanceCount
- The maximum number of instances to filter when searching for
offerings.
Default: 20
public Request<DescribeReservedInstancesOfferingsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeReservedInstancesOfferingsRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeReservedInstancesOfferingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()