Class DescribeReservedInstancesOfferingsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.ec2.model.DescribeReservedInstancesOfferingsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,DryRunSupportedRequest<DescribeReservedInstancesOfferingsRequest>,Serializable,Cloneable
public class DescribeReservedInstancesOfferingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeReservedInstancesOfferingsRequest>
Contains the parameters for DescribeReservedInstancesOfferings.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeReservedInstancesOfferingsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeReservedInstancesOfferingsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetAvailabilityZone()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.BooleangetIncludeMarketplace()Include Reserved Instance Marketplace offerings in the response.StringgetInstanceTenancy()The tenancy of the instances covered by the reservation.StringgetInstanceType()The instance type that the reservation will cover (for example,m1.small).LonggetMaxDuration()The maximum duration (in seconds) to filter when searching for offerings.IntegergetMaxInstanceCount()The maximum number of instances to filter when searching for offerings.IntegergetMaxResults()The maximum number of results to return for the request in a single page.LonggetMinDuration()The minimum duration (in seconds) to filter when searching for offerings.StringgetNextToken()The token to retrieve the next page of results.StringgetOfferingType()The Reserved Instance offering type.StringgetProductDescription()The Reserved Instance product platform description.List<String>getReservedInstancesOfferingIds()One or more Reserved Instances offering IDs.inthashCode()BooleanisIncludeMarketplace()Include Reserved Instance Marketplace offerings in the response.voidsetAvailabilityZone(String availabilityZone)The Availability Zone in which the Reserved Instance can be used.voidsetFilters(Collection<Filter> filters)One or more filters.voidsetIncludeMarketplace(Boolean includeMarketplace)Include Reserved Instance Marketplace offerings in the response.voidsetInstanceTenancy(Tenancy instanceTenancy)The tenancy of the instances covered by the reservation.voidsetInstanceTenancy(String instanceTenancy)The tenancy of the instances covered by the reservation.voidsetInstanceType(InstanceType instanceType)The instance type that the reservation will cover (for example,m1.small).voidsetInstanceType(String instanceType)The instance type that the reservation will cover (for example,m1.small).voidsetMaxDuration(Long maxDuration)The maximum duration (in seconds) to filter when searching for offerings.voidsetMaxInstanceCount(Integer maxInstanceCount)The maximum number of instances to filter when searching for offerings.voidsetMaxResults(Integer maxResults)The maximum number of results to return for the request in a single page.voidsetMinDuration(Long minDuration)The minimum duration (in seconds) to filter when searching for offerings.voidsetNextToken(String nextToken)The token to retrieve the next page of results.voidsetOfferingType(OfferingTypeValues offeringType)The Reserved Instance offering type.voidsetOfferingType(String offeringType)The Reserved Instance offering type.voidsetProductDescription(RIProductDescription productDescription)The Reserved Instance product platform description.voidsetProductDescription(String productDescription)The Reserved Instance product platform description.voidsetReservedInstancesOfferingIds(Collection<String> reservedInstancesOfferingIds)One or more Reserved Instances offering IDs.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeReservedInstancesOfferingsRequestwithAvailabilityZone(String availabilityZone)The Availability Zone in which the Reserved Instance can be used.DescribeReservedInstancesOfferingsRequestwithFilters(Filter... filters)One or more filters.DescribeReservedInstancesOfferingsRequestwithFilters(Collection<Filter> filters)One or more filters.DescribeReservedInstancesOfferingsRequestwithIncludeMarketplace(Boolean includeMarketplace)Include Reserved Instance Marketplace offerings in the response.DescribeReservedInstancesOfferingsRequestwithInstanceTenancy(Tenancy instanceTenancy)The tenancy of the instances covered by the reservation.DescribeReservedInstancesOfferingsRequestwithInstanceTenancy(String instanceTenancy)The tenancy of the instances covered by the reservation.DescribeReservedInstancesOfferingsRequestwithInstanceType(InstanceType instanceType)The instance type that the reservation will cover (for example,m1.small).DescribeReservedInstancesOfferingsRequestwithInstanceType(String instanceType)The instance type that the reservation will cover (for example,m1.small).DescribeReservedInstancesOfferingsRequestwithMaxDuration(Long maxDuration)The maximum duration (in seconds) to filter when searching for offerings.DescribeReservedInstancesOfferingsRequestwithMaxInstanceCount(Integer maxInstanceCount)The maximum number of instances to filter when searching for offerings.DescribeReservedInstancesOfferingsRequestwithMaxResults(Integer maxResults)The maximum number of results to return for the request in a single page.DescribeReservedInstancesOfferingsRequestwithMinDuration(Long minDuration)The minimum duration (in seconds) to filter when searching for offerings.DescribeReservedInstancesOfferingsRequestwithNextToken(String nextToken)The token to retrieve the next page of results.DescribeReservedInstancesOfferingsRequestwithOfferingType(OfferingTypeValues offeringType)The Reserved Instance offering type.DescribeReservedInstancesOfferingsRequestwithOfferingType(String offeringType)The Reserved Instance offering type.DescribeReservedInstancesOfferingsRequestwithProductDescription(RIProductDescription productDescription)The Reserved Instance product platform description.DescribeReservedInstancesOfferingsRequestwithProductDescription(String productDescription)The Reserved Instance product platform description.DescribeReservedInstancesOfferingsRequestwithReservedInstancesOfferingIds(String... reservedInstancesOfferingIds)One or more Reserved Instances offering IDs.DescribeReservedInstancesOfferingsRequestwithReservedInstancesOfferingIds(Collection<String> reservedInstancesOfferingIds)One or more Reserved Instances offering IDs.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
getReservedInstancesOfferingIds
public List<String> getReservedInstancesOfferingIds()
One or more Reserved Instances offering IDs.
- Returns:
- One or more Reserved Instances offering IDs.
-
setReservedInstancesOfferingIds
public void setReservedInstancesOfferingIds(Collection<String> reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.
- Parameters:
reservedInstancesOfferingIds- One or more Reserved Instances offering IDs.
-
withReservedInstancesOfferingIds
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)orwithReservedInstancesOfferingIds(java.util.Collection)if you want to override the existing values.- Parameters:
reservedInstancesOfferingIds- One or more Reserved Instances offering IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withReservedInstancesOfferingIds
public DescribeReservedInstancesOfferingsRequest withReservedInstancesOfferingIds(Collection<String> reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.
- Parameters:
reservedInstancesOfferingIds- One or more Reserved Instances offering IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceType
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.- Parameters:
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.- See Also:
InstanceType
-
getInstanceType
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.- Returns:
- 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. - See Also:
InstanceType
-
withInstanceType
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceType
-
setInstanceType
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.- Parameters:
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.- See Also:
InstanceType
-
withInstanceType
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceType
-
setAvailabilityZone
public void setAvailabilityZone(String availabilityZone)
The Availability Zone in which the Reserved Instance can be used.
- Parameters:
availabilityZone- The Availability Zone in which the Reserved Instance can be used.
-
getAvailabilityZone
public String getAvailabilityZone()
The Availability Zone in which the Reserved Instance can be used.
- Returns:
- The Availability Zone in which the Reserved Instance can be used.
-
withAvailabilityZone
public DescribeReservedInstancesOfferingsRequest withAvailabilityZone(String availabilityZone)
The Availability Zone in which the Reserved Instance can be used.
- Parameters:
availabilityZone- The Availability Zone in which the Reserved Instance can be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setProductDescription
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.- Parameters:
productDescription- The Reserved Instance product platform description. Instances that include(Amazon VPC)in the description are for use with Amazon VPC.- See Also:
RIProductDescription
-
getProductDescription
public String getProductDescription()
The Reserved Instance product platform description. Instances that include
(Amazon VPC)in the description are for use with Amazon VPC.- Returns:
- The Reserved Instance product platform description. Instances
that include
(Amazon VPC)in the description are for use with Amazon VPC. - See Also:
RIProductDescription
-
withProductDescription
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.- Parameters:
productDescription- The Reserved Instance product platform description. Instances that include(Amazon VPC)in the description are for use with Amazon VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RIProductDescription
-
setProductDescription
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.- Parameters:
productDescription- The Reserved Instance product platform description. Instances that include(Amazon VPC)in the description are for use with Amazon VPC.- See Also:
RIProductDescription
-
withProductDescription
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.- Parameters:
productDescription- The Reserved Instance product platform description. Instances that include(Amazon VPC)in the description are for use with Amazon VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RIProductDescription
-
getFilters
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 totrueto 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).
- Returns:
- 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 totrueto 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).
-
-
-
setFilters
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 totrueto 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).
- Parameters:
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 totrueto 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).
-
-
-
withFilters
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 totrueto 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)orwithFilters(java.util.Collection)if you want to override the existing values.- Parameters:
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 totrueto 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).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
withFilters
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 totrueto 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).
- Parameters:
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 totrueto 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).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
setInstanceTenancy
public void setInstanceTenancy(String instanceTenancy)
The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of
dedicatedis applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).Default:
default- Parameters:
instanceTenancy- The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy ofdedicatedis applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).Default:
default- See Also:
Tenancy
-
getInstanceTenancy
public String getInstanceTenancy()
The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of
dedicatedis applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).Default:
default- Returns:
- The tenancy of the instances covered by the reservation. A
Reserved Instance with a tenancy of
dedicatedis applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).Default:
default - See Also:
Tenancy
-
withInstanceTenancy
public DescribeReservedInstancesOfferingsRequest withInstanceTenancy(String instanceTenancy)
The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of
dedicatedis applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).Default:
default- Parameters:
instanceTenancy- The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy ofdedicatedis applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).Default:
default- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Tenancy
-
setInstanceTenancy
public void setInstanceTenancy(Tenancy instanceTenancy)
The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of
dedicatedis applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).Default:
default- Parameters:
instanceTenancy- The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy ofdedicatedis applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).Default:
default- See Also:
Tenancy
-
withInstanceTenancy
public DescribeReservedInstancesOfferingsRequest withInstanceTenancy(Tenancy instanceTenancy)
The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of
dedicatedis applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).Default:
default- Parameters:
instanceTenancy- The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy ofdedicatedis applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).Default:
default- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Tenancy
-
setOfferingType
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 UtilizationReserved Instance offering type.- Parameters:
offeringType- The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only have access to theMedium UtilizationReserved Instance offering type.- See Also:
OfferingTypeValues
-
getOfferingType
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 UtilizationReserved Instance offering type.- Returns:
- 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 UtilizationReserved Instance offering type. - See Also:
OfferingTypeValues
-
withOfferingType
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 UtilizationReserved Instance offering type.- Parameters:
offeringType- The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only have access to theMedium UtilizationReserved Instance offering type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OfferingTypeValues
-
setOfferingType
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 UtilizationReserved Instance offering type.- Parameters:
offeringType- The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only have access to theMedium UtilizationReserved Instance offering type.- See Also:
OfferingTypeValues
-
withOfferingType
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 UtilizationReserved Instance offering type.- Parameters:
offeringType- The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only have access to theMedium UtilizationReserved Instance offering type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OfferingTypeValues
-
setNextToken
public void setNextToken(String nextToken)
The token to retrieve the next page of results.
- Parameters:
nextToken- The token to retrieve the next page of results.
-
getNextToken
public String getNextToken()
The token to retrieve the next page of results.
- Returns:
- The token to retrieve the next page of results.
-
withNextToken
public DescribeReservedInstancesOfferingsRequest withNextToken(String nextToken)
The token to retrieve the next page of results.
- Parameters:
nextToken- The token to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxResults
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
NextTokenvalue. The maximum is 100.Default: 100
- Parameters:
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 returnedNextTokenvalue. The maximum is 100.Default: 100
-
getMaxResults
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
NextTokenvalue. The maximum is 100.Default: 100
- Returns:
- 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
NextTokenvalue. The maximum is 100.Default: 100
-
withMaxResults
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
NextTokenvalue. The maximum is 100.Default: 100
- Parameters:
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 returnedNextTokenvalue. The maximum is 100.Default: 100
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIncludeMarketplace
public void setIncludeMarketplace(Boolean includeMarketplace)
Include Reserved Instance Marketplace offerings in the response.
- Parameters:
includeMarketplace- Include Reserved Instance Marketplace offerings in the response.
-
getIncludeMarketplace
public Boolean getIncludeMarketplace()
Include Reserved Instance Marketplace offerings in the response.
- Returns:
- Include Reserved Instance Marketplace offerings in the response.
-
withIncludeMarketplace
public DescribeReservedInstancesOfferingsRequest withIncludeMarketplace(Boolean includeMarketplace)
Include Reserved Instance Marketplace offerings in the response.
- Parameters:
includeMarketplace- Include Reserved Instance Marketplace offerings in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isIncludeMarketplace
public Boolean isIncludeMarketplace()
Include Reserved Instance Marketplace offerings in the response.
- Returns:
- Include Reserved Instance Marketplace offerings in the response.
-
setMinDuration
public void setMinDuration(Long minDuration)
The minimum duration (in seconds) to filter when searching for offerings.
Default: 2592000 (1 month)
- Parameters:
minDuration- The minimum duration (in seconds) to filter when searching for offerings.Default: 2592000 (1 month)
-
getMinDuration
public Long getMinDuration()
The minimum duration (in seconds) to filter when searching for offerings.
Default: 2592000 (1 month)
- Returns:
- The minimum duration (in seconds) to filter when searching for
offerings.
Default: 2592000 (1 month)
-
withMinDuration
public DescribeReservedInstancesOfferingsRequest withMinDuration(Long minDuration)
The minimum duration (in seconds) to filter when searching for offerings.
Default: 2592000 (1 month)
- Parameters:
minDuration- The minimum duration (in seconds) to filter when searching for offerings.Default: 2592000 (1 month)
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxDuration
public void setMaxDuration(Long maxDuration)
The maximum duration (in seconds) to filter when searching for offerings.
Default: 94608000 (3 years)
- Parameters:
maxDuration- The maximum duration (in seconds) to filter when searching for offerings.Default: 94608000 (3 years)
-
getMaxDuration
public Long getMaxDuration()
The maximum duration (in seconds) to filter when searching for offerings.
Default: 94608000 (3 years)
- Returns:
- The maximum duration (in seconds) to filter when searching for
offerings.
Default: 94608000 (3 years)
-
withMaxDuration
public DescribeReservedInstancesOfferingsRequest withMaxDuration(Long maxDuration)
The maximum duration (in seconds) to filter when searching for offerings.
Default: 94608000 (3 years)
- Parameters:
maxDuration- The maximum duration (in seconds) to filter when searching for offerings.Default: 94608000 (3 years)
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxInstanceCount
public void setMaxInstanceCount(Integer maxInstanceCount)
The maximum number of instances to filter when searching for offerings.
Default: 20
- Parameters:
maxInstanceCount- The maximum number of instances to filter when searching for offerings.Default: 20
-
getMaxInstanceCount
public Integer getMaxInstanceCount()
The maximum number of instances to filter when searching for offerings.
Default: 20
- Returns:
- The maximum number of instances to filter when searching for
offerings.
Default: 20
-
withMaxInstanceCount
public DescribeReservedInstancesOfferingsRequest withMaxInstanceCount(Integer maxInstanceCount)
The maximum number of instances to filter when searching for offerings.
Default: 20
- Parameters:
maxInstanceCount- The maximum number of instances to filter when searching for offerings.Default: 20
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDryRunRequest
public Request<DescribeReservedInstancesOfferingsRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequestin interfaceDryRunSupportedRequest<DescribeReservedInstancesOfferingsRequest>
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeReservedInstancesOfferingsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-