Class DescribeReservedInstancesOfferingsRequest
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<DescribeReservedInstancesOfferingsRequest>
,Serializable
,Cloneable
Contains the parameters for DescribeReservedInstancesOfferings.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The Availability Zone in which the Reserved Instance can be used.This method is intended for internal use only.One or more filters.Include Reserved Instance Marketplace offerings in the response.The tenancy of the instances covered by the reservation.The instance type that the reservation will cover (for example,m1.small
).The maximum duration (in seconds) to filter when searching for offerings.The maximum number of instances to filter when searching for offerings.The maximum number of results to return for the request in a single page.The minimum duration (in seconds) to filter when searching for offerings.The token to retrieve the next page of results.The Reserved Instance offering type.The Reserved Instance product platform description.One or more Reserved Instances offering IDs.int
hashCode()
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
(Tenancy instanceTenancy) The tenancy of the instances covered by the reservation.void
setInstanceTenancy
(String 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
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.toString()
Returns a string representation of this object; useful for testing and debugging.withAvailabilityZone
(String availabilityZone) The Availability Zone in which the Reserved Instance can be used.withFilters
(Filter... filters) One or more filters.withFilters
(Collection<Filter> filters) One or more filters.withIncludeMarketplace
(Boolean includeMarketplace) Include Reserved Instance Marketplace offerings in the response.withInstanceTenancy
(Tenancy instanceTenancy) The tenancy of the instances covered by the reservation.withInstanceTenancy
(String instanceTenancy) The tenancy of the instances covered by the reservation.withInstanceType
(InstanceType instanceType) The instance type that the reservation will cover (for example,m1.small
).withInstanceType
(String instanceType) The instance type that the reservation will cover (for example,m1.small
).withMaxDuration
(Long maxDuration) The maximum duration (in seconds) to filter when searching for offerings.withMaxInstanceCount
(Integer maxInstanceCount) The maximum number of instances to filter when searching for offerings.withMaxResults
(Integer maxResults) The maximum number of results to return for the request in a single page.withMinDuration
(Long minDuration) The minimum duration (in seconds) to filter when searching for offerings.withNextToken
(String nextToken) The token to retrieve the next page of results.withOfferingType
(OfferingTypeValues offeringType) The Reserved Instance offering type.withOfferingType
(String offeringType) The Reserved Instance offering type.withProductDescription
(RIProductDescription productDescription) The Reserved Instance product platform description.withProductDescription
(String productDescription) The Reserved Instance product platform description.withReservedInstancesOfferingIds
(String... reservedInstancesOfferingIds) One or more Reserved Instances offering IDs.withReservedInstancesOfferingIds
(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
-
Constructor Details
-
DescribeReservedInstancesOfferingsRequest
public DescribeReservedInstancesOfferingsRequest()
-
-
Method Details
-
getReservedInstancesOfferingIds
One or more Reserved Instances offering IDs.
- Returns:
- One or more Reserved Instances offering IDs.
-
setReservedInstancesOfferingIds
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
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:
-
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:
-
withInstanceType
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:
-
setInstanceType
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:
-
withInstanceType
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:
-
setAvailabilityZone
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
The Availability Zone in which the Reserved Instance can be used.
- Returns:
- The Availability Zone in which the Reserved Instance can be used.
-
withAvailabilityZone
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
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:
-
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:
-
withProductDescription
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:
-
setProductDescription
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:
-
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:
-
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 totrue
to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from both AWS and the Reserved Instance Marketplace are listed. -
product-description
- The Reserved Instance product platform description. Instances that include(Amazon VPC)
in the product platform description will only be displayed to EC2-Classic account holders and are for use with Amazon VPC. (Linux/UNIX
|Linux/UNIX (Amazon VPC)
|SUSE Linux
|SUSE Linux (Amazon VPC)
|Red Hat Enterprise Linux
|Red Hat Enterprise Linux (Amazon VPC)
|Windows
|Windows (Amazon VPC)
|Windows with SQL Server Standard
|Windows with SQL Server Standard (Amazon VPC)
|Windows with SQL Server Web
|Windows with SQL Server Web (Amazon VPC)
|Windows with SQL Server Enterprise
|Windows with SQL Server Enterprise (Amazon VPC)
) -
reserved-instances-offering-id
- The Reserved Instances offering ID. -
usage-price
- The usage price of the Reserved Instance, per hour (for example, 0.84).
- 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 totrue
to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from both AWS and the Reserved Instance Marketplace are listed. -
product-description
- The Reserved Instance product platform description. Instances that include(Amazon VPC)
in the product platform description will only be displayed to EC2-Classic account holders and are for use with Amazon VPC. (Linux/UNIX
|Linux/UNIX (Amazon VPC)
|SUSE Linux
|SUSE Linux (Amazon VPC)
|Red Hat Enterprise Linux
|Red Hat Enterprise Linux (Amazon VPC)
|Windows
|Windows (Amazon VPC)
|Windows with SQL Server Standard
|Windows with SQL Server Standard (Amazon VPC)
|Windows with SQL Server Web
|Windows with SQL Server Web (Amazon VPC)
|Windows with SQL Server Enterprise
|Windows with SQL Server Enterprise (Amazon VPC)
) -
reserved-instances-offering-id
- The Reserved Instances offering ID. -
usage-price
- The usage price of the Reserved Instance, per hour (for example, 0.84).
-
-
-
setFilters
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 totrue
to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from both AWS and the Reserved Instance Marketplace are listed. -
product-description
- The Reserved Instance product platform description. Instances that include(Amazon VPC)
in the product platform description will only be displayed to EC2-Classic account holders and are for use with Amazon VPC. (Linux/UNIX
|Linux/UNIX (Amazon VPC)
|SUSE Linux
|SUSE Linux (Amazon VPC)
|Red Hat Enterprise Linux
|Red Hat Enterprise Linux (Amazon VPC)
|Windows
|Windows (Amazon VPC)
|Windows with SQL Server Standard
|Windows with SQL Server Standard (Amazon VPC)
|Windows with SQL Server Web
|Windows with SQL Server Web (Amazon VPC)
|Windows with SQL Server Enterprise
|Windows with SQL Server Enterprise (Amazon VPC)
) -
reserved-instances-offering-id
- The Reserved Instances offering ID. -
usage-price
- The usage price of the Reserved Instance, per hour (for example, 0.84).
- 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 totrue
to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from both AWS and the Reserved Instance Marketplace are listed. -
product-description
- The Reserved Instance product platform description. Instances that include(Amazon VPC)
in the product platform description will only be displayed to EC2-Classic account holders and are for use with Amazon VPC. (Linux/UNIX
|Linux/UNIX (Amazon VPC)
|SUSE Linux
|SUSE Linux (Amazon VPC)
|Red Hat Enterprise Linux
|Red Hat Enterprise Linux (Amazon VPC)
|Windows
|Windows (Amazon VPC)
|Windows with SQL Server Standard
|Windows with SQL Server Standard (Amazon VPC)
|Windows with SQL Server Web
|Windows with SQL Server Web (Amazon VPC)
|Windows with SQL Server Enterprise
|Windows with SQL Server Enterprise (Amazon VPC)
) -
reserved-instances-offering-id
- The Reserved Instances offering ID. -
usage-price
- The usage price of the Reserved Instance, per hour (for example, 0.84).
-
-
-
withFilters
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 totrue
to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from both AWS and the Reserved Instance Marketplace are listed. -
product-description
- The Reserved Instance product platform description. Instances that include(Amazon VPC)
in the product platform description will only be displayed to EC2-Classic account holders and are for use with Amazon VPC. (Linux/UNIX
|Linux/UNIX (Amazon VPC)
|SUSE Linux
|SUSE Linux (Amazon VPC)
|Red Hat Enterprise Linux
|Red Hat Enterprise Linux (Amazon VPC)
|Windows
|Windows (Amazon VPC)
|Windows with SQL Server Standard
|Windows with SQL Server Standard (Amazon VPC)
|Windows with SQL Server Web
|Windows with SQL Server Web (Amazon VPC)
|Windows with SQL Server Enterprise
|Windows with SQL Server Enterprise (Amazon VPC)
) -
reserved-instances-offering-id
- The Reserved Instances offering ID. -
usage-price
- The usage price of the Reserved Instance, per hour (for example, 0.84).
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
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 totrue
to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from both AWS and the Reserved Instance Marketplace are listed. -
product-description
- The Reserved Instance product platform description. Instances that include(Amazon VPC)
in the product platform description will only be displayed to EC2-Classic account holders and are for use with Amazon VPC. (Linux/UNIX
|Linux/UNIX (Amazon VPC)
|SUSE Linux
|SUSE Linux (Amazon VPC)
|Red Hat Enterprise Linux
|Red Hat Enterprise Linux (Amazon VPC)
|Windows
|Windows (Amazon VPC)
|Windows with SQL Server Standard
|Windows with SQL Server Standard (Amazon VPC)
|Windows with SQL Server Web
|Windows with SQL Server Web (Amazon VPC)
|Windows with SQL Server Enterprise
|Windows with SQL Server Enterprise (Amazon VPC)
) -
reserved-instances-offering-id
- The Reserved Instances offering ID. -
usage-price
- The usage price of the Reserved Instance, per hour (for example, 0.84).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
withFilters
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 totrue
to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from both AWS and the Reserved Instance Marketplace are listed. -
product-description
- The Reserved Instance product platform description. Instances that include(Amazon VPC)
in the product platform description will only be displayed to EC2-Classic account holders and are for use with Amazon VPC. (Linux/UNIX
|Linux/UNIX (Amazon VPC)
|SUSE Linux
|SUSE Linux (Amazon VPC)
|Red Hat Enterprise Linux
|Red Hat Enterprise Linux (Amazon VPC)
|Windows
|Windows (Amazon VPC)
|Windows with SQL Server Standard
|Windows with SQL Server Standard (Amazon VPC)
|Windows with SQL Server Web
|Windows with SQL Server Web (Amazon VPC)
|Windows with SQL Server Enterprise
|Windows with SQL Server Enterprise (Amazon VPC)
) -
reserved-instances-offering-id
- The Reserved Instances offering ID. -
usage-price
- The usage price of the Reserved Instance, per hour (for example, 0.84).
- 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 totrue
to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from both AWS and the Reserved Instance Marketplace are listed. -
product-description
- The Reserved Instance product platform description. Instances that include(Amazon VPC)
in the product platform description will only be displayed to EC2-Classic account holders and are for use with Amazon VPC. (Linux/UNIX
|Linux/UNIX (Amazon VPC)
|SUSE Linux
|SUSE Linux (Amazon VPC)
|Red Hat Enterprise Linux
|Red Hat Enterprise Linux (Amazon VPC)
|Windows
|Windows (Amazon VPC)
|Windows with SQL Server Standard
|Windows with SQL Server Standard (Amazon VPC)
|Windows with SQL Server Web
|Windows with SQL Server Web (Amazon VPC)
|Windows with SQL Server Enterprise
|Windows with SQL Server Enterprise (Amazon VPC)
) -
reserved-instances-offering-id
- The Reserved Instances offering ID. -
usage-price
- The usage price of the Reserved Instance, per hour (for example, 0.84).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
setInstanceTenancy
The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of
dedicated
is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).Default:
default
- Parameters:
instanceTenancy
- The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy ofdedicated
is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).Default:
default
- See Also:
-
getInstanceTenancy
The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of
dedicated
is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).Default:
default
- Returns:
- The tenancy of the instances covered by the reservation. A
Reserved Instance with a tenancy of
dedicated
is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).Default:
default
- See Also:
-
withInstanceTenancy
The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of
dedicated
is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).Default:
default
- Parameters:
instanceTenancy
- The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy ofdedicated
is 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:
-
setInstanceTenancy
The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of
dedicated
is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).Default:
default
- Parameters:
instanceTenancy
- The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy ofdedicated
is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).Default:
default
- See Also:
-
withInstanceTenancy
The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of
dedicated
is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).Default:
default
- Parameters:
instanceTenancy
- The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy ofdedicated
is 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:
-
setOfferingType
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.- 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 Utilization
Reserved Instance offering type.- See Also:
-
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.- 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 Utilization
Reserved Instance offering type. - See Also:
-
withOfferingType
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.- 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 Utilization
Reserved Instance offering type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setOfferingType
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.- 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 Utilization
Reserved Instance offering type.- See Also:
-
withOfferingType
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.- 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 Utilization
Reserved Instance offering type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setNextToken
The token to retrieve the next page of results.
- Parameters:
nextToken
- The token to retrieve the next page of results.
-
getNextToken
The token to retrieve the next page of results.
- Returns:
- The token to retrieve the next page of results.
-
withNextToken
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
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
- 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 returnedNextToken
value. The maximum is 100.Default: 100
-
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
- 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
NextToken
value. The maximum is 100.Default: 100
-
withMaxResults
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
- 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 returnedNextToken
value. The maximum is 100.Default: 100
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIncludeMarketplace
Include Reserved Instance Marketplace offerings in the response.
- Parameters:
includeMarketplace
- Include Reserved Instance Marketplace offerings in the response.
-
getIncludeMarketplace
Include Reserved Instance Marketplace offerings in the response.
- Returns:
- Include Reserved Instance Marketplace offerings in the response.
-
withIncludeMarketplace
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
Include Reserved Instance Marketplace offerings in the response.
- Returns:
- Include Reserved Instance Marketplace offerings in the response.
-
setMinDuration
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
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
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
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
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
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
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
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
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
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<DescribeReservedInstancesOfferingsRequest>
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-