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 DescribeReservedInstancesOfferingsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getAvailabilityZone()
The Availability Zone in which the Reserved Instance can be used.Request<DescribeReservedInstancesOfferingsRequest>
getDryRunRequest()
This method is intended for internal use only.List<Filter>
getFilters()
One or more filters.Boolean
getIncludeMarketplace()
Include 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
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(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.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(Filter... filters)
One or more filters.DescribeReservedInstancesOfferingsRequest
withFilters(Collection<Filter> filters)
One or more filters.DescribeReservedInstancesOfferingsRequest
withIncludeMarketplace(Boolean includeMarketplace)
Include Reserved Instance Marketplace offerings in the response.DescribeReservedInstancesOfferingsRequest
withInstanceTenancy(Tenancy instanceTenancy)
The tenancy of the instances covered by the reservation.DescribeReservedInstancesOfferingsRequest
withInstanceTenancy(String 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
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(String... reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.DescribeReservedInstancesOfferingsRequest
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
-
-
-
-
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 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
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 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
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 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
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 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
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).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:
Tenancy
-
getInstanceTenancy
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).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:
Tenancy
-
withInstanceTenancy
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).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:
Tenancy
-
setInstanceTenancy
public void setInstanceTenancy(Tenancy instanceTenancy)
The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of
dedicated
is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).Default:
default
- 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:
Tenancy
-
withInstanceTenancy
public DescribeReservedInstancesOfferingsRequest withInstanceTenancy(Tenancy instanceTenancy)
The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of
dedicated
is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).Default:
default
- 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:
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 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:
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 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:
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 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:
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 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:
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 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:
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
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
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
- 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
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
- 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
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:
getDryRunRequest
in interfaceDryRunSupportedRequest<DescribeReservedInstancesOfferingsRequest>
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeReservedInstancesOfferingsRequest 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:
Object.clone()
-
-