@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeReservedInstancesOfferingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeReservedInstancesOfferingsRequest>
Contains the parameters for DescribeReservedInstancesOfferings.
NOOP
Constructor and Description |
---|
DescribeReservedInstancesOfferingsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeReservedInstancesOfferingsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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 Reserved Instance Marketplace offerings in the response.
|
String |
getInstanceTenancy()
The tenancy of the instances covered by the reservation.
|
String |
getInstanceType()
The instance type that the reservation will cover (for example,
m1.small ). |
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 |
getOfferingClass()
The offering class of the Reserved Instance.
|
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 Reserved Instance 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 Reserved Instance Marketplace offerings in the response.
|
void |
setInstanceTenancy(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(String instanceType)
The instance type that the reservation will cover (for example,
m1.small ). |
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 |
setOfferingClass(OfferingClassType offeringClass)
The offering class of the Reserved Instance.
|
void |
setOfferingClass(String offeringClass)
The offering class of the Reserved Instance.
|
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 Reserved Instance Marketplace offerings in the response.
|
DescribeReservedInstancesOfferingsRequest |
withInstanceTenancy(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(String instanceType)
The instance type that the reservation will cover (for example,
m1.small ). |
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 |
withOfferingClass(OfferingClassType offeringClass)
The offering class of the Reserved Instance.
|
DescribeReservedInstancesOfferingsRequest |
withOfferingClass(String offeringClass)
The offering class of the Reserved Instance.
|
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.
|
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, withSdkRequestTimeout
public DescribeReservedInstancesOfferingsRequest()
public void setAvailabilityZone(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 String getAvailabilityZone()
The Availability Zone in which the Reserved Instance can be used.
public DescribeReservedInstancesOfferingsRequest withAvailabilityZone(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 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.
scope
- The scope of the Reserved Instance (Availability Zone
or Region
).
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.
scope
- The scope of the Reserved Instance (Availability Zone
or
Region
).
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 (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.
scope
- The scope of the Reserved Instance (Availability Zone
or Region
).
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.
scope
- The scope of the Reserved Instance (Availability Zone
or
Region
).
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.
scope
- The scope of the Reserved Instance (Availability Zone
or Region
).
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.
scope
- The scope of the Reserved Instance (Availability Zone
or
Region
).
usage-price
- The usage price of the Reserved Instance, per hour (for example, 0.84).
public DescribeReservedInstancesOfferingsRequest 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 (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.
scope
- The scope of the Reserved Instance (Availability Zone
or Region
).
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.
scope
- The scope of the Reserved Instance (Availability Zone
or
Region
).
usage-price
- The usage price of the Reserved Instance, per hour (for example, 0.84).
public void setIncludeMarketplace(Boolean includeMarketplace)
Include Reserved Instance Marketplace offerings in the response.
includeMarketplace
- Include Reserved Instance Marketplace offerings in the response.public Boolean getIncludeMarketplace()
Include Reserved Instance Marketplace offerings in the response.
public DescribeReservedInstancesOfferingsRequest withIncludeMarketplace(Boolean includeMarketplace)
Include Reserved Instance Marketplace offerings in the response.
includeMarketplace
- Include Reserved Instance Marketplace offerings in the response.public Boolean isIncludeMarketplace()
Include Reserved Instance Marketplace offerings in the response.
public void setInstanceType(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 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(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 setMaxDuration(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 Long getMaxDuration()
The maximum duration (in seconds) to filter when searching for offerings.
Default: 94608000 (3 years)
Default: 94608000 (3 years)
public DescribeReservedInstancesOfferingsRequest withMaxDuration(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(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 Integer getMaxInstanceCount()
The maximum number of instances to filter when searching for offerings.
Default: 20
Default: 20
public DescribeReservedInstancesOfferingsRequest withMaxInstanceCount(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 void setMinDuration(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 Long getMinDuration()
The minimum duration (in seconds) to filter when searching for offerings.
Default: 2592000 (1 month)
Default: 2592000 (1 month)
public DescribeReservedInstancesOfferingsRequest withMinDuration(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 setOfferingClass(String offeringClass)
The offering class of the Reserved Instance. Can be standard
or convertible
.
offeringClass
- The offering class of the Reserved Instance. Can be standard
or convertible
.OfferingClassType
public String getOfferingClass()
The offering class of the Reserved Instance. Can be standard
or convertible
.
standard
or convertible
.OfferingClassType
public DescribeReservedInstancesOfferingsRequest withOfferingClass(String offeringClass)
The offering class of the Reserved Instance. Can be standard
or convertible
.
offeringClass
- The offering class of the Reserved Instance. Can be standard
or convertible
.OfferingClassType
public void setOfferingClass(OfferingClassType offeringClass)
The offering class of the Reserved Instance. Can be standard
or convertible
.
offeringClass
- The offering class of the Reserved Instance. Can be standard
or convertible
.OfferingClassType
public DescribeReservedInstancesOfferingsRequest withOfferingClass(OfferingClassType offeringClass)
The offering class of the Reserved Instance. Can be standard
or convertible
.
offeringClass
- The offering class of the Reserved Instance. Can be standard
or convertible
.OfferingClassType
public void setProductDescription(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 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(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 List<String> getReservedInstancesOfferingIds()
One or more Reserved Instances offering IDs.
public void setReservedInstancesOfferingIds(Collection<String> reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.
reservedInstancesOfferingIds
- One or more Reserved Instances offering IDs.public DescribeReservedInstancesOfferingsRequest withReservedInstancesOfferingIds(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(Collection<String> reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.
reservedInstancesOfferingIds
- One or more Reserved Instances offering IDs.public void setInstanceTenancy(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).
Important: The host
value cannot be used with this parameter. Use the default
or
dedicated
values only.
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).
Important: The host
value cannot be used with this parameter. Use the
default
or dedicated
values only.
Default: default
Tenancy
public 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).
Important: The host
value cannot be used with this parameter. Use the default
or
dedicated
values only.
Default: default
dedicated
is applied to instances that run in a VPC on single-tenant hardware (i.e.,
Dedicated Instances).
Important: The host
value cannot be used with this parameter. Use the
default
or dedicated
values only.
Default: default
Tenancy
public DescribeReservedInstancesOfferingsRequest withInstanceTenancy(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).
Important: The host
value cannot be used with this parameter. Use the default
or
dedicated
values only.
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).
Important: The host
value cannot be used with this parameter. Use the
default
or dedicated
values only.
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).
Important: The host
value cannot be used with this parameter. Use the default
or
dedicated
values only.
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).
Important: The host
value cannot be used with this parameter. Use the
default
or dedicated
values only.
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).
Important: The host
value cannot be used with this parameter. Use the default
or
dedicated
values only.
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).
Important: The host
value cannot be used with this parameter. Use the
default
or dedicated
values only.
Default: default
Tenancy
public void setMaxResults(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 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(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 setNextToken(String nextToken)
The token to retrieve the next page of results.
nextToken
- The token to retrieve the next page of results.public String getNextToken()
The token to retrieve the next page of results.
public DescribeReservedInstancesOfferingsRequest withNextToken(String nextToken)
The token to retrieve the next page of results.
nextToken
- The token to retrieve the next page of results.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.OfferingTypeValues
public 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(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 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 © 2013 Amazon Web Services, Inc. All Rights Reserved.