public class DescribeReservedInstancesOfferingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeReservedInstancesOfferingsRequest>
DescribeReservedInstancesOfferings operation
.
Describes Reserved Instance offerings that are available for purchase. With Reserved Instances, you purchase the right to launch instances for a period of time. During that time period, you do not receive insufficient capacity errors, and you pay a lower usage rate than the rate charged for On-Demand instances for the actual time used.
For more information, see Reserved Instance Marketplace in the Amazon Elastic Compute Cloud User Guide .
NOOP
Constructor and Description |
---|
DescribeReservedInstancesOfferingsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeReservedInstancesOfferingsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone in which the Reserved Instance can be used.
|
Request<DescribeReservedInstancesOfferingsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
One or more filters.
|
Boolean |
getIncludeMarketplace()
Include Marketplace offerings in the response.
|
String |
getInstanceTenancy()
The tenancy of the Reserved Instance offering.
|
String |
getInstanceType()
The instance type on which the Reserved Instance can be used.
|
Long |
getMaxDuration()
The maximum duration (in seconds) to filter when searching for
offerings.
|
Integer |
getMaxInstanceCount()
The maximum number of instances to filter when searching for
offerings.
|
Integer |
getMaxResults()
The maximum number of results to return for the request in a single
page.
|
Long |
getMinDuration()
The minimum duration (in seconds) to filter when searching for
offerings.
|
String |
getNextToken()
The token to retrieve the next page of results.
|
String |
getOfferingType()
The Reserved Instance offering type.
|
String |
getProductDescription()
The Reserved Instance product platform description.
|
List<String> |
getReservedInstancesOfferingIds()
One or more Reserved Instances offering IDs.
|
int |
hashCode() |
Boolean |
isIncludeMarketplace()
Include Marketplace offerings in the response.
|
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone in which the Reserved Instance can be used.
|
void |
setFilters(Collection<Filter> filters)
One or more filters.
|
void |
setIncludeMarketplace(Boolean includeMarketplace)
Include Marketplace offerings in the response.
|
void |
setInstanceTenancy(String instanceTenancy)
The tenancy of the Reserved Instance offering.
|
void |
setInstanceTenancy(Tenancy instanceTenancy)
The tenancy of the Reserved Instance offering.
|
void |
setInstanceType(InstanceType instanceType)
The instance type on which the Reserved Instance can be used.
|
void |
setInstanceType(String instanceType)
The instance type on which the Reserved Instance can be used.
|
void |
setMaxDuration(Long maxDuration)
The maximum duration (in seconds) to filter when searching for
offerings.
|
void |
setMaxInstanceCount(Integer maxInstanceCount)
The maximum number of instances to filter when searching for
offerings.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single
page.
|
void |
setMinDuration(Long minDuration)
The minimum duration (in seconds) to filter when searching for
offerings.
|
void |
setNextToken(String nextToken)
The token to retrieve the next page of results.
|
void |
setOfferingType(OfferingTypeValues offeringType)
The Reserved Instance offering type.
|
void |
setOfferingType(String offeringType)
The Reserved Instance offering type.
|
void |
setProductDescription(RIProductDescription productDescription)
The Reserved Instance product platform description.
|
void |
setProductDescription(String productDescription)
The Reserved Instance product platform description.
|
void |
setReservedInstancesOfferingIds(Collection<String> reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeReservedInstancesOfferingsRequest |
withAvailabilityZone(String availabilityZone)
The Availability Zone in which the Reserved Instance can be used.
|
DescribeReservedInstancesOfferingsRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
DescribeReservedInstancesOfferingsRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeReservedInstancesOfferingsRequest |
withIncludeMarketplace(Boolean includeMarketplace)
Include Marketplace offerings in the response.
|
DescribeReservedInstancesOfferingsRequest |
withInstanceTenancy(String instanceTenancy)
The tenancy of the Reserved Instance offering.
|
DescribeReservedInstancesOfferingsRequest |
withInstanceTenancy(Tenancy instanceTenancy)
The tenancy of the Reserved Instance offering.
|
DescribeReservedInstancesOfferingsRequest |
withInstanceType(InstanceType instanceType)
The instance type on which the Reserved Instance can be used.
|
DescribeReservedInstancesOfferingsRequest |
withInstanceType(String instanceType)
The instance type on which the Reserved Instance can be used.
|
DescribeReservedInstancesOfferingsRequest |
withMaxDuration(Long maxDuration)
The maximum duration (in seconds) to filter when searching for
offerings.
|
DescribeReservedInstancesOfferingsRequest |
withMaxInstanceCount(Integer maxInstanceCount)
The maximum number of instances to filter when searching for
offerings.
|
DescribeReservedInstancesOfferingsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single
page.
|
DescribeReservedInstancesOfferingsRequest |
withMinDuration(Long minDuration)
The minimum duration (in seconds) to filter when searching for
offerings.
|
DescribeReservedInstancesOfferingsRequest |
withNextToken(String nextToken)
The token to retrieve the next page of results.
|
DescribeReservedInstancesOfferingsRequest |
withOfferingType(OfferingTypeValues offeringType)
The Reserved Instance offering type.
|
DescribeReservedInstancesOfferingsRequest |
withOfferingType(String offeringType)
The Reserved Instance offering type.
|
DescribeReservedInstancesOfferingsRequest |
withProductDescription(RIProductDescription productDescription)
The Reserved Instance product platform description.
|
DescribeReservedInstancesOfferingsRequest |
withProductDescription(String productDescription)
The Reserved Instance product platform description.
|
DescribeReservedInstancesOfferingsRequest |
withReservedInstancesOfferingIds(Collection<String> reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.
|
DescribeReservedInstancesOfferingsRequest |
withReservedInstancesOfferingIds(String... reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DescribeReservedInstancesOfferingsRequest()
public List<String> getReservedInstancesOfferingIds()
public void setReservedInstancesOfferingIds(Collection<String> reservedInstancesOfferingIds)
reservedInstancesOfferingIds
- One or more Reserved Instances offering IDs.public DescribeReservedInstancesOfferingsRequest withReservedInstancesOfferingIds(String... reservedInstancesOfferingIds)
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.
Returns a reference to this object so that method calls can be chained together.
reservedInstancesOfferingIds
- One or more Reserved Instances offering IDs.public DescribeReservedInstancesOfferingsRequest withReservedInstancesOfferingIds(Collection<String> reservedInstancesOfferingIds)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesOfferingIds
- One or more Reserved Instances offering IDs.public String getInstanceType()
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, t2.micro, t2.small, t2.medium, t2.large, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge
InstanceType
public void setInstanceType(String instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, t2.micro, t2.small, t2.medium, t2.large, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge
instanceType
- The instance type on which the Reserved Instance can be used. For more
information, see Instance
Types in the Amazon Elastic Compute Cloud User Guide.InstanceType
public DescribeReservedInstancesOfferingsRequest withInstanceType(String instanceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, t2.micro, t2.small, t2.medium, t2.large, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge
instanceType
- The instance type on which the Reserved Instance can be used. For more
information, see Instance
Types in the Amazon Elastic Compute Cloud User Guide.InstanceType
public void setInstanceType(InstanceType instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, t2.micro, t2.small, t2.medium, t2.large, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge
instanceType
- The instance type on which the Reserved Instance can be used. For more
information, see Instance
Types in the Amazon Elastic Compute Cloud User Guide.InstanceType
public DescribeReservedInstancesOfferingsRequest withInstanceType(InstanceType instanceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, t2.micro, t2.small, t2.medium, t2.large, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge
instanceType
- The instance type on which the Reserved Instance can be used. For more
information, see Instance
Types in the Amazon Elastic Compute Cloud User Guide.InstanceType
public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone
- The Availability Zone in which the Reserved Instance can be used.public DescribeReservedInstancesOfferingsRequest withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- The Availability Zone in which the Reserved Instance can be used.public String getProductDescription()
(Amazon VPC)
in the description are for use with
Amazon VPC.
Constraints:
Allowed Values: Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (Amazon VPC)
(Amazon VPC)
in the description are for use with
Amazon VPC.RIProductDescription
public void setProductDescription(String productDescription)
(Amazon VPC)
in the description are for use with
Amazon VPC.
Constraints:
Allowed Values: Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (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(String productDescription)
(Amazon VPC)
in the description are for use with
Amazon VPC.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (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)
(Amazon VPC)
in the description are for use with
Amazon VPC.
Constraints:
Allowed Values: Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (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)
(Amazon VPC)
in the description are for use with
Amazon VPC.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (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 List<Filter> getFilters()
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 on which the
Reserved Instance can be used.
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 AWS and 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 on which the
Reserved Instance can be used.
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 AWS and 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(Collection<Filter> 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 on which the
Reserved Instance can be used.
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 AWS and 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 on which the
Reserved Instance can be used.
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 AWS and 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)
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 on which the
Reserved Instance can be used.
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 AWS and 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.
Returns a reference to this object so that method calls can be chained together.
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 on which the
Reserved Instance can be used.
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 AWS and 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(Collection<Filter> 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 on which the
Reserved Instance can be used.
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 AWS and 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).
Returns a reference to this object so that method calls can be chained together.
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 on which the
Reserved Instance can be used.
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 AWS and 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 String getInstanceTenancy()
dedicated
tenancy runs on single-tenant hardware and
can only be launched within a VPC. Default: default
Constraints:
Allowed Values: default, dedicated
dedicated
tenancy runs on single-tenant hardware and
can only be launched within a VPC. Default: default
Tenancy
public void setInstanceTenancy(String instanceTenancy)
dedicated
tenancy runs on single-tenant hardware and
can only be launched within a VPC. Default: default
Constraints:
Allowed Values: default, dedicated
instanceTenancy
- The tenancy of the Reserved Instance offering. A Reserved Instance
with dedicated
tenancy runs on single-tenant hardware and
can only be launched within a VPC. Default: default
Tenancy
public DescribeReservedInstancesOfferingsRequest withInstanceTenancy(String instanceTenancy)
dedicated
tenancy runs on single-tenant hardware and
can only be launched within a VPC. Default: default
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: default, dedicated
instanceTenancy
- The tenancy of the Reserved Instance offering. A Reserved Instance
with dedicated
tenancy runs on single-tenant hardware and
can only be launched within a VPC. Default: default
Tenancy
public void setInstanceTenancy(Tenancy instanceTenancy)
dedicated
tenancy runs on single-tenant hardware and
can only be launched within a VPC. Default: default
Constraints:
Allowed Values: default, dedicated
instanceTenancy
- The tenancy of the Reserved Instance offering. A Reserved Instance
with dedicated
tenancy runs on single-tenant hardware and
can only be launched within a VPC. Default: default
Tenancy
public DescribeReservedInstancesOfferingsRequest withInstanceTenancy(Tenancy instanceTenancy)
dedicated
tenancy runs on single-tenant hardware and
can only be launched within a VPC. Default: default
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: default, dedicated
instanceTenancy
- The tenancy of the Reserved Instance offering. A Reserved Instance
with dedicated
tenancy runs on single-tenant hardware and
can only be launched within a VPC. Default: default
Tenancy
public String getOfferingType()
Medium Utilization
Reserved Instance offering type.
Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization, No Upfront, Partial Upfront, All Upfront
Medium Utilization
Reserved Instance offering type.OfferingTypeValues
public void setOfferingType(String offeringType)
Medium Utilization
Reserved Instance offering type.
Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization, No Upfront, Partial Upfront, All Upfront
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(String offeringType)
Medium Utilization
Reserved Instance offering type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization, No Upfront, Partial Upfront, All Upfront
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)
Medium Utilization
Reserved Instance offering type.
Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization, No Upfront, Partial Upfront, All Upfront
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)
Medium Utilization
Reserved Instance offering type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization, No Upfront, Partial Upfront, All Upfront
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 String getNextToken()
public void setNextToken(String nextToken)
nextToken
- The token to retrieve the next page of results.public DescribeReservedInstancesOfferingsRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken
- The token to retrieve the next page of results.public Integer getMaxResults()
NextToken
value. The maximum is 100. Default: 100
NextToken
value. The maximum is 100. Default: 100
public void setMaxResults(Integer maxResults)
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 DescribeReservedInstancesOfferingsRequest withMaxResults(Integer maxResults)
NextToken
value. The maximum is 100. Default: 100
Returns a reference to this object so that method calls can be chained together.
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 Boolean isIncludeMarketplace()
public void setIncludeMarketplace(Boolean includeMarketplace)
includeMarketplace
- Include Marketplace offerings in the response.public DescribeReservedInstancesOfferingsRequest withIncludeMarketplace(Boolean includeMarketplace)
Returns a reference to this object so that method calls can be chained together.
includeMarketplace
- Include Marketplace offerings in the response.public Boolean getIncludeMarketplace()
public Long getMinDuration()
Default: 2592000 (1 month)
Default: 2592000 (1 month)
public void setMinDuration(Long minDuration)
Default: 2592000 (1 month)
minDuration
- The minimum duration (in seconds) to filter when searching for
offerings. Default: 2592000 (1 month)
public DescribeReservedInstancesOfferingsRequest withMinDuration(Long minDuration)
Default: 2592000 (1 month)
Returns a reference to this object so that method calls can be chained together.
minDuration
- The minimum duration (in seconds) to filter when searching for
offerings. Default: 2592000 (1 month)
public Long getMaxDuration()
Default: 94608000 (3 years)
Default: 94608000 (3 years)
public void setMaxDuration(Long maxDuration)
Default: 94608000 (3 years)
maxDuration
- The maximum duration (in seconds) to filter when searching for
offerings. Default: 94608000 (3 years)
public DescribeReservedInstancesOfferingsRequest withMaxDuration(Long maxDuration)
Default: 94608000 (3 years)
Returns a reference to this object so that method calls can be chained together.
maxDuration
- The maximum duration (in seconds) to filter when searching for
offerings. Default: 94608000 (3 years)
public Integer getMaxInstanceCount()
Default: 20
Default: 20
public void setMaxInstanceCount(Integer maxInstanceCount)
Default: 20
maxInstanceCount
- The maximum number of instances to filter when searching for
offerings. Default: 20
public DescribeReservedInstancesOfferingsRequest withMaxInstanceCount(Integer maxInstanceCount)
Default: 20
Returns a reference to this object so that method calls can be chained together.
maxInstanceCount
- The maximum number of instances to filter when searching for
offerings. Default: 20
public Request<DescribeReservedInstancesOfferingsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeReservedInstancesOfferingsRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeReservedInstancesOfferingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.