com.amazonaws.services.ec2.model
Class DescribeReservedInstancesOfferingsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DescribeReservedInstancesOfferingsRequest
All Implemented Interfaces:
DryRunSupportedRequest<DescribeReservedInstancesOfferingsRequest>, java.io.Serializable

public class DescribeReservedInstancesOfferingsRequest
extends AmazonWebServiceRequest
implements java.io.Serializable, DryRunSupportedRequest<DescribeReservedInstancesOfferingsRequest>

Container for the parameters to the DescribeReservedInstancesOfferings operation.

Describes Reserved Instance offerings that are available for purchase. With Reserved Instances, you purchase the right to launch instances for a period of time. During that time period, you do not receive insufficient capacity errors, and you pay a lower usage rate than the rate charged for On-Demand instances for the actual time used.

For more information, see Reserved Instance Marketplace in the Amazon Elastic Compute Cloud User Guide .

See Also:
AmazonEC2.describeReservedInstancesOfferings(DescribeReservedInstancesOfferingsRequest), Serialized Form

Constructor Summary
DescribeReservedInstancesOfferingsRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAvailabilityZone()
          The Availability Zone in which the Reserved Instance can be used.
 Request<DescribeReservedInstancesOfferingsRequest> getDryRunRequest()
          This method is intended for internal use only.
 java.util.List<Filter> getFilters()
          One or more filters.
 java.lang.Boolean getIncludeMarketplace()
          Include Marketplace offerings in the response.
 java.lang.String getInstanceTenancy()
          The tenancy of the Reserved Instance offering.
 java.lang.String getInstanceType()
          The instance type on which the Reserved Instance can be used.
 java.lang.Long getMaxDuration()
          The maximum duration (in seconds) to filter when searching for offerings.
 java.lang.Integer getMaxInstanceCount()
          The maximum number of instances to filter when searching for offerings.
 java.lang.Integer getMaxResults()
          The maximum number of offerings to return.
 java.lang.Long getMinDuration()
          The minimum duration (in seconds) to filter when searching for offerings.
 java.lang.String getNextToken()
          The token to use when requesting the next paginated set of offerings.
 java.lang.String getOfferingType()
          The Reserved Instance offering type.
 java.lang.String getProductDescription()
          The Reserved Instance description.
 java.util.List<java.lang.String> getReservedInstancesOfferingIds()
          One or more Reserved Instances offering IDs.
 int hashCode()
           
 java.lang.Boolean isIncludeMarketplace()
          Include Marketplace offerings in the response.
 void setAvailabilityZone(java.lang.String availabilityZone)
          The Availability Zone in which the Reserved Instance can be used.
 void setFilters(java.util.Collection<Filter> filters)
          One or more filters.
 void setIncludeMarketplace(java.lang.Boolean includeMarketplace)
          Include Marketplace offerings in the response.
 void setInstanceTenancy(java.lang.String instanceTenancy)
          The tenancy of the Reserved Instance offering.
 void setInstanceTenancy(Tenancy instanceTenancy)
          The tenancy of the Reserved Instance offering.
 void setInstanceType(InstanceType instanceType)
          The instance type on which the Reserved Instance can be used.
 void setInstanceType(java.lang.String instanceType)
          The instance type on which the Reserved Instance can be used.
 void setMaxDuration(java.lang.Long maxDuration)
          The maximum duration (in seconds) to filter when searching for offerings.
 void setMaxInstanceCount(java.lang.Integer maxInstanceCount)
          The maximum number of instances to filter when searching for offerings.
 void setMaxResults(java.lang.Integer maxResults)
          The maximum number of offerings to return.
 void setMinDuration(java.lang.Long minDuration)
          The minimum duration (in seconds) to filter when searching for offerings.
 void setNextToken(java.lang.String nextToken)
          The token to use when requesting the next paginated set of offerings.
 void setOfferingType(OfferingTypeValues offeringType)
          The Reserved Instance offering type.
 void setOfferingType(java.lang.String offeringType)
          The Reserved Instance offering type.
 void setProductDescription(RIProductDescription productDescription)
          The Reserved Instance description.
 void setProductDescription(java.lang.String productDescription)
          The Reserved Instance description.
 void setReservedInstancesOfferingIds(java.util.Collection<java.lang.String> reservedInstancesOfferingIds)
          One or more Reserved Instances offering IDs.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeReservedInstancesOfferingsRequest withAvailabilityZone(java.lang.String availabilityZone)
          The Availability Zone in which the Reserved Instance can be used.
 DescribeReservedInstancesOfferingsRequest withFilters(java.util.Collection<Filter> filters)
          One or more filters.
 DescribeReservedInstancesOfferingsRequest withFilters(Filter... filters)
          One or more filters.
 DescribeReservedInstancesOfferingsRequest withIncludeMarketplace(java.lang.Boolean includeMarketplace)
          Include Marketplace offerings in the response.
 DescribeReservedInstancesOfferingsRequest withInstanceTenancy(java.lang.String instanceTenancy)
          The tenancy of the Reserved Instance offering.
 DescribeReservedInstancesOfferingsRequest withInstanceTenancy(Tenancy instanceTenancy)
          The tenancy of the Reserved Instance offering.
 DescribeReservedInstancesOfferingsRequest withInstanceType(InstanceType instanceType)
          The instance type on which the Reserved Instance can be used.
 DescribeReservedInstancesOfferingsRequest withInstanceType(java.lang.String instanceType)
          The instance type on which the Reserved Instance can be used.
 DescribeReservedInstancesOfferingsRequest withMaxDuration(java.lang.Long maxDuration)
          The maximum duration (in seconds) to filter when searching for offerings.
 DescribeReservedInstancesOfferingsRequest withMaxInstanceCount(java.lang.Integer maxInstanceCount)
          The maximum number of instances to filter when searching for offerings.
 DescribeReservedInstancesOfferingsRequest withMaxResults(java.lang.Integer maxResults)
          The maximum number of offerings to return.
 DescribeReservedInstancesOfferingsRequest withMinDuration(java.lang.Long minDuration)
          The minimum duration (in seconds) to filter when searching for offerings.
 DescribeReservedInstancesOfferingsRequest withNextToken(java.lang.String nextToken)
          The token to use when requesting the next paginated set of offerings.
 DescribeReservedInstancesOfferingsRequest withOfferingType(OfferingTypeValues offeringType)
          The Reserved Instance offering type.
 DescribeReservedInstancesOfferingsRequest withOfferingType(java.lang.String offeringType)
          The Reserved Instance offering type.
 DescribeReservedInstancesOfferingsRequest withProductDescription(RIProductDescription productDescription)
          The Reserved Instance description.
 DescribeReservedInstancesOfferingsRequest withProductDescription(java.lang.String productDescription)
          The Reserved Instance description.
 DescribeReservedInstancesOfferingsRequest withReservedInstancesOfferingIds(java.util.Collection<java.lang.String> reservedInstancesOfferingIds)
          One or more Reserved Instances offering IDs.
 DescribeReservedInstancesOfferingsRequest withReservedInstancesOfferingIds(java.lang.String... reservedInstancesOfferingIds)
          One or more Reserved Instances offering IDs.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeReservedInstancesOfferingsRequest

public DescribeReservedInstancesOfferingsRequest()
Method Detail

getReservedInstancesOfferingIds

public java.util.List<java.lang.String> getReservedInstancesOfferingIds()
One or more Reserved Instances offering IDs.

Returns:
One or more Reserved Instances offering IDs.

setReservedInstancesOfferingIds

public void setReservedInstancesOfferingIds(java.util.Collection<java.lang.String> reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.

Parameters:
reservedInstancesOfferingIds - One or more Reserved Instances offering IDs.

withReservedInstancesOfferingIds

public DescribeReservedInstancesOfferingsRequest withReservedInstancesOfferingIds(java.lang.String... reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.

Returns a reference to this object so that method calls can be chained together.

Parameters:
reservedInstancesOfferingIds - One or more Reserved Instances offering IDs.
Returns:
A reference to this updated object so that method calls can be chained together.

withReservedInstancesOfferingIds

public DescribeReservedInstancesOfferingsRequest withReservedInstancesOfferingIds(java.util.Collection<java.lang.String> reservedInstancesOfferingIds)
One or more Reserved Instances offering IDs.

Returns a reference to this object so that method calls can be chained together.

Parameters:
reservedInstancesOfferingIds - One or more Reserved Instances offering IDs.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceType

public java.lang.String getInstanceType()
The instance type on which the Reserved Instance can be used. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.

Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge

Returns:
The instance type on which the Reserved Instance can be used. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
See Also:
InstanceType

setInstanceType

public void setInstanceType(java.lang.String instanceType)
The instance type on which the Reserved Instance can be used. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.

Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge

Parameters:
instanceType - The instance type on which the Reserved Instance can be used. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
See Also:
InstanceType

withInstanceType

public DescribeReservedInstancesOfferingsRequest withInstanceType(java.lang.String instanceType)
The instance type on which the Reserved Instance can be used. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge

Parameters:
instanceType - The instance type on which the Reserved Instance can be used. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
InstanceType

setInstanceType

public void setInstanceType(InstanceType instanceType)
The instance type on which the Reserved Instance can be used. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.

Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge

Parameters:
instanceType - The instance type on which the Reserved Instance can be used. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
See Also:
InstanceType

withInstanceType

public DescribeReservedInstancesOfferingsRequest withInstanceType(InstanceType instanceType)
The instance type on which the Reserved Instance can be used. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge

Parameters:
instanceType - The instance type on which the Reserved Instance can be used. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
InstanceType

getAvailabilityZone

public java.lang.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.

setAvailabilityZone

public void setAvailabilityZone(java.lang.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.

withAvailabilityZone

public DescribeReservedInstancesOfferingsRequest withAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone in which the Reserved Instance can be used.

Returns a reference to this object so that method calls can be chained together.

Parameters:
availabilityZone - The Availability Zone in which the Reserved Instance can be used.
Returns:
A reference to this updated object so that method calls can be chained together.

getProductDescription

public java.lang.String getProductDescription()
The Reserved Instance description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC.

Constraints:
Allowed Values: Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (Amazon VPC)

Returns:
The Reserved Instance description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC.
See Also:
RIProductDescription

setProductDescription

public void setProductDescription(java.lang.String productDescription)
The Reserved Instance description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC.

Constraints:
Allowed Values: Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (Amazon VPC)

Parameters:
productDescription - The Reserved Instance description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC.
See Also:
RIProductDescription

withProductDescription

public DescribeReservedInstancesOfferingsRequest withProductDescription(java.lang.String productDescription)
The Reserved Instance description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (Amazon VPC)

Parameters:
productDescription - The Reserved Instance description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
RIProductDescription

setProductDescription

public void setProductDescription(RIProductDescription productDescription)
The Reserved Instance description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC.

Constraints:
Allowed Values: Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (Amazon VPC)

Parameters:
productDescription - The Reserved Instance 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 description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: Linux/UNIX, Linux/UNIX (Amazon VPC), Windows, Windows (Amazon VPC)

Parameters:
productDescription - The Reserved Instance description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
RIProductDescription

getFilters

public java.util.List<Filter> getFilters()
One or more filters.

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.

  • fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).

  • instance-type - The instance type on which the Reserved Instance can be used.

  • marketplace - Set to true to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from AWS and Reserved Instance Marketplace are listed.

  • product-description - The description of the Reserved Instance (Linux/UNIX | Linux/UNIX (Amazon VPC) | Windows | Windows (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(java.util.Collection<Filter> filters)
One or more filters.

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.

  • fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).

  • instance-type - The instance type on which the Reserved Instance can be used.

  • marketplace - Set to true to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from AWS and Reserved Instance Marketplace are listed.

  • product-description - The description of the Reserved Instance (Linux/UNIX | Linux/UNIX (Amazon VPC) | Windows | Windows (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.

Returns a reference to this object so that method calls can be chained together.

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.

  • fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).

  • instance-type - The instance type on which the Reserved Instance can be used.

  • marketplace - Set to true to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from AWS and Reserved Instance Marketplace are listed.

  • product-description - The description of the Reserved Instance (Linux/UNIX | Linux/UNIX (Amazon VPC) | Windows | Windows (Amazon VPC)).

  • reserved-instances-offering-id - The Reserved Instances offering ID.

  • usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).

Returns:
A reference to this updated object so that method calls can be chained together.

withFilters

public DescribeReservedInstancesOfferingsRequest withFilters(java.util.Collection<Filter> filters)
One or more filters.

Returns a reference to this object so that method calls can be chained together.

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.

  • fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).

  • instance-type - The instance type on which the Reserved Instance can be used.

  • marketplace - Set to true to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from AWS and Reserved Instance Marketplace are listed.

  • product-description - The description of the Reserved Instance (Linux/UNIX | Linux/UNIX (Amazon VPC) | Windows | Windows (Amazon VPC)).

  • reserved-instances-offering-id - The Reserved Instances offering ID.

  • usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).

Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceTenancy

public java.lang.String getInstanceTenancy()
The tenancy of the Reserved Instance offering. A Reserved Instance with dedicated tenancy runs on single-tenant hardware and can only be launched within a VPC.

Default: default

Constraints:
Allowed Values: default, dedicated

Returns:
The tenancy of the Reserved Instance offering. A Reserved Instance with dedicated tenancy runs on single-tenant hardware and can only be launched within a VPC.

Default: default

See Also:
Tenancy

setInstanceTenancy

public void setInstanceTenancy(java.lang.String instanceTenancy)
The tenancy of the Reserved Instance offering. A Reserved Instance with dedicated tenancy runs on single-tenant hardware and can only be launched within a VPC.

Default: default

Constraints:
Allowed Values: default, dedicated

Parameters:
instanceTenancy - The tenancy of the Reserved Instance offering. A Reserved Instance with dedicated tenancy runs on single-tenant hardware and can only be launched within a VPC.

Default: default

See Also:
Tenancy

withInstanceTenancy

public DescribeReservedInstancesOfferingsRequest withInstanceTenancy(java.lang.String instanceTenancy)
The tenancy of the Reserved Instance offering. A Reserved Instance with dedicated tenancy runs on single-tenant hardware and can only be launched within a VPC.

Default: default

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: default, dedicated

Parameters:
instanceTenancy - The tenancy of the Reserved Instance offering. A Reserved Instance with dedicated tenancy runs on single-tenant hardware and can only be launched within a VPC.

Default: default

Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
Tenancy

setInstanceTenancy

public void setInstanceTenancy(Tenancy instanceTenancy)
The tenancy of the Reserved Instance offering. A Reserved Instance with dedicated tenancy runs on single-tenant hardware and can only be launched within a VPC.

Default: default

Constraints:
Allowed Values: default, dedicated

Parameters:
instanceTenancy - The tenancy of the Reserved Instance offering. A Reserved Instance with dedicated tenancy runs on single-tenant hardware and can only be launched within a VPC.

Default: default

See Also:
Tenancy

withInstanceTenancy

public DescribeReservedInstancesOfferingsRequest withInstanceTenancy(Tenancy instanceTenancy)
The tenancy of the Reserved Instance offering. A Reserved Instance with dedicated tenancy runs on single-tenant hardware and can only be launched within a VPC.

Default: default

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: default, dedicated

Parameters:
instanceTenancy - The tenancy of the Reserved Instance offering. A Reserved Instance with dedicated tenancy runs on single-tenant hardware and can only be launched within a VPC.

Default: default

Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
Tenancy

getOfferingType

public java.lang.String getOfferingType()
The Reserved Instance offering type.

Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization

Returns:
The Reserved Instance offering type.
See Also:
OfferingTypeValues

setOfferingType

public void setOfferingType(java.lang.String offeringType)
The Reserved Instance offering type.

Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization

Parameters:
offeringType - The Reserved Instance offering type.
See Also:
OfferingTypeValues

withOfferingType

public DescribeReservedInstancesOfferingsRequest withOfferingType(java.lang.String offeringType)
The Reserved Instance offering type.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization

Parameters:
offeringType - The Reserved Instance offering type.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
OfferingTypeValues

setOfferingType

public void setOfferingType(OfferingTypeValues offeringType)
The Reserved Instance offering type.

Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization

Parameters:
offeringType - The Reserved Instance offering type.
See Also:
OfferingTypeValues

withOfferingType

public DescribeReservedInstancesOfferingsRequest withOfferingType(OfferingTypeValues offeringType)
The Reserved Instance offering type.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: Heavy Utilization, Medium Utilization, Light Utilization

Parameters:
offeringType - The Reserved Instance offering type.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
OfferingTypeValues

getNextToken

public java.lang.String getNextToken()
The token to use when requesting the next paginated set of offerings.

Returns:
The token to use when requesting the next paginated set of offerings.

setNextToken

public void setNextToken(java.lang.String nextToken)
The token to use when requesting the next paginated set of offerings.

Parameters:
nextToken - The token to use when requesting the next paginated set of offerings.

withNextToken

public DescribeReservedInstancesOfferingsRequest withNextToken(java.lang.String nextToken)
The token to use when requesting the next paginated set of offerings.

Returns a reference to this object so that method calls can be chained together.

Parameters:
nextToken - The token to use when requesting the next paginated set of offerings.
Returns:
A reference to this updated object so that method calls can be chained together.

getMaxResults

public java.lang.Integer getMaxResults()
The maximum number of offerings to return.

Returns:
The maximum number of offerings to return.

setMaxResults

public void setMaxResults(java.lang.Integer maxResults)
The maximum number of offerings to return.

Parameters:
maxResults - The maximum number of offerings to return.

withMaxResults

public DescribeReservedInstancesOfferingsRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of offerings to return.

Returns a reference to this object so that method calls can be chained together.

Parameters:
maxResults - The maximum number of offerings to return.
Returns:
A reference to this updated object so that method calls can be chained together.

isIncludeMarketplace

public java.lang.Boolean isIncludeMarketplace()
Include Marketplace offerings in the response.

Returns:
Include Marketplace offerings in the response.

setIncludeMarketplace

public void setIncludeMarketplace(java.lang.Boolean includeMarketplace)
Include Marketplace offerings in the response.

Parameters:
includeMarketplace - Include Marketplace offerings in the response.

withIncludeMarketplace

public DescribeReservedInstancesOfferingsRequest withIncludeMarketplace(java.lang.Boolean includeMarketplace)
Include Marketplace offerings in the response.

Returns a reference to this object so that method calls can be chained together.

Parameters:
includeMarketplace - Include Marketplace offerings in the response.
Returns:
A reference to this updated object so that method calls can be chained together.

getIncludeMarketplace

public java.lang.Boolean getIncludeMarketplace()
Include Marketplace offerings in the response.

Returns:
Include Marketplace offerings in the response.

getMinDuration

public java.lang.Long getMinDuration()
The minimum duration (in seconds) to filter when searching for offerings.

Returns:
The minimum duration (in seconds) to filter when searching for offerings.

setMinDuration

public void setMinDuration(java.lang.Long minDuration)
The minimum duration (in seconds) to filter when searching for offerings.

Parameters:
minDuration - The minimum duration (in seconds) to filter when searching for offerings.

withMinDuration

public DescribeReservedInstancesOfferingsRequest withMinDuration(java.lang.Long minDuration)
The minimum duration (in seconds) to filter when searching for offerings.

Returns a reference to this object so that method calls can be chained together.

Parameters:
minDuration - The minimum duration (in seconds) to filter when searching for offerings.
Returns:
A reference to this updated object so that method calls can be chained together.

getMaxDuration

public java.lang.Long getMaxDuration()
The maximum duration (in seconds) to filter when searching for offerings.

Returns:
The maximum duration (in seconds) to filter when searching for offerings.

setMaxDuration

public void setMaxDuration(java.lang.Long maxDuration)
The maximum duration (in seconds) to filter when searching for offerings.

Parameters:
maxDuration - The maximum duration (in seconds) to filter when searching for offerings.

withMaxDuration

public DescribeReservedInstancesOfferingsRequest withMaxDuration(java.lang.Long maxDuration)
The maximum duration (in seconds) to filter when searching for offerings.

Returns a reference to this object so that method calls can be chained together.

Parameters:
maxDuration - The maximum duration (in seconds) to filter when searching for offerings.
Returns:
A reference to this updated object so that method calls can be chained together.

getMaxInstanceCount

public java.lang.Integer getMaxInstanceCount()
The maximum number of instances to filter when searching for offerings.

Returns:
The maximum number of instances to filter when searching for offerings.

setMaxInstanceCount

public void setMaxInstanceCount(java.lang.Integer maxInstanceCount)
The maximum number of instances to filter when searching for offerings.

Parameters:
maxInstanceCount - The maximum number of instances to filter when searching for offerings.

withMaxInstanceCount

public DescribeReservedInstancesOfferingsRequest withMaxInstanceCount(java.lang.Integer maxInstanceCount)
The maximum number of instances to filter when searching for offerings.

Returns a reference to this object so that method calls can be chained together.

Parameters:
maxInstanceCount - The maximum number of instances to filter when searching for offerings.
Returns:
A reference to this updated 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 interface DryRunSupportedRequest<DescribeReservedInstancesOfferingsRequest>

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.