com.amazonaws.services.ec2.model
Class ReservedInstancesOffering

java.lang.Object
  extended by com.amazonaws.services.ec2.model.ReservedInstancesOffering
All Implemented Interfaces:
java.io.Serializable

public class ReservedInstancesOffering
extends java.lang.Object
implements java.io.Serializable

Describes a Reserved Instance offering.

See Also:
Serialized Form

Constructor Summary
ReservedInstancesOffering()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAvailabilityZone()
          The Availability Zone in which the Reserved Instance can be used.
 java.lang.String getCurrencyCode()
          The currency of the Reserved Instance offering you are purchasing.
 java.lang.Long getDuration()
          The duration of the Reserved Instance, in seconds.
 java.lang.Float getFixedPrice()
          The purchase price of the Reserved Instance.
 java.lang.String getInstanceTenancy()
          The tenancy of the reserved instance.
 java.lang.String getInstanceType()
          The instance type on which the Reserved Instance can be used.
 java.lang.Boolean getMarketplace()
          Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or AWS.
 java.lang.String getOfferingType()
          The Reserved Instance offering type.
 java.util.List<PricingDetail> getPricingDetails()
          The pricing details of the Reserved Instance offering.
 java.lang.String getProductDescription()
          The Reserved Instance description.
 java.util.List<RecurringCharge> getRecurringCharges()
          The recurring charge tag assigned to the resource.
 java.lang.String getReservedInstancesOfferingId()
          The ID of the Reserved Instance offering.
 java.lang.Float getUsagePrice()
          The usage price of the Reserved Instance, per hour.
 int hashCode()
           
 java.lang.Boolean isMarketplace()
          Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or AWS.
 void setAvailabilityZone(java.lang.String availabilityZone)
          The Availability Zone in which the Reserved Instance can be used.
 void setCurrencyCode(CurrencyCodeValues currencyCode)
          The currency of the Reserved Instance offering you are purchasing.
 void setCurrencyCode(java.lang.String currencyCode)
          The currency of the Reserved Instance offering you are purchasing.
 void setDuration(java.lang.Long duration)
          The duration of the Reserved Instance, in seconds.
 void setFixedPrice(java.lang.Float fixedPrice)
          The purchase price of the Reserved Instance.
 void setInstanceTenancy(java.lang.String instanceTenancy)
          The tenancy of the reserved instance.
 void setInstanceTenancy(Tenancy instanceTenancy)
          The tenancy of the reserved instance.
 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 setMarketplace(java.lang.Boolean marketplace)
          Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or AWS.
 void setOfferingType(OfferingTypeValues offeringType)
          The Reserved Instance offering type.
 void setOfferingType(java.lang.String offeringType)
          The Reserved Instance offering type.
 void setPricingDetails(java.util.Collection<PricingDetail> pricingDetails)
          The pricing details of the Reserved Instance offering.
 void setProductDescription(RIProductDescription productDescription)
          The Reserved Instance description.
 void setProductDescription(java.lang.String productDescription)
          The Reserved Instance description.
 void setRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)
          The recurring charge tag assigned to the resource.
 void setReservedInstancesOfferingId(java.lang.String reservedInstancesOfferingId)
          The ID of the Reserved Instance offering.
 void setUsagePrice(java.lang.Float usagePrice)
          The usage price of the Reserved Instance, per hour.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ReservedInstancesOffering withAvailabilityZone(java.lang.String availabilityZone)
          The Availability Zone in which the Reserved Instance can be used.
 ReservedInstancesOffering withCurrencyCode(CurrencyCodeValues currencyCode)
          The currency of the Reserved Instance offering you are purchasing.
 ReservedInstancesOffering withCurrencyCode(java.lang.String currencyCode)
          The currency of the Reserved Instance offering you are purchasing.
 ReservedInstancesOffering withDuration(java.lang.Long duration)
          The duration of the Reserved Instance, in seconds.
 ReservedInstancesOffering withFixedPrice(java.lang.Float fixedPrice)
          The purchase price of the Reserved Instance.
 ReservedInstancesOffering withInstanceTenancy(java.lang.String instanceTenancy)
          The tenancy of the reserved instance.
 ReservedInstancesOffering withInstanceTenancy(Tenancy instanceTenancy)
          The tenancy of the reserved instance.
 ReservedInstancesOffering withInstanceType(InstanceType instanceType)
          The instance type on which the Reserved Instance can be used.
 ReservedInstancesOffering withInstanceType(java.lang.String instanceType)
          The instance type on which the Reserved Instance can be used.
 ReservedInstancesOffering withMarketplace(java.lang.Boolean marketplace)
          Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or AWS.
 ReservedInstancesOffering withOfferingType(OfferingTypeValues offeringType)
          The Reserved Instance offering type.
 ReservedInstancesOffering withOfferingType(java.lang.String offeringType)
          The Reserved Instance offering type.
 ReservedInstancesOffering withPricingDetails(java.util.Collection<PricingDetail> pricingDetails)
          The pricing details of the Reserved Instance offering.
 ReservedInstancesOffering withPricingDetails(PricingDetail... pricingDetails)
          The pricing details of the Reserved Instance offering.
 ReservedInstancesOffering withProductDescription(RIProductDescription productDescription)
          The Reserved Instance description.
 ReservedInstancesOffering withProductDescription(java.lang.String productDescription)
          The Reserved Instance description.
 ReservedInstancesOffering withRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)
          The recurring charge tag assigned to the resource.
 ReservedInstancesOffering withRecurringCharges(RecurringCharge... recurringCharges)
          The recurring charge tag assigned to the resource.
 ReservedInstancesOffering withReservedInstancesOfferingId(java.lang.String reservedInstancesOfferingId)
          The ID of the Reserved Instance offering.
 ReservedInstancesOffering withUsagePrice(java.lang.Float usagePrice)
          The usage price of the Reserved Instance, per hour.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReservedInstancesOffering

public ReservedInstancesOffering()
Method Detail

getReservedInstancesOfferingId

public java.lang.String getReservedInstancesOfferingId()
The ID of the Reserved Instance offering.

Returns:
The ID of the Reserved Instance offering.

setReservedInstancesOfferingId

public void setReservedInstancesOfferingId(java.lang.String reservedInstancesOfferingId)
The ID of the Reserved Instance offering.

Parameters:
reservedInstancesOfferingId - The ID of the Reserved Instance offering.

withReservedInstancesOfferingId

public ReservedInstancesOffering withReservedInstancesOfferingId(java.lang.String reservedInstancesOfferingId)
The ID of the Reserved Instance offering.

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

Parameters:
reservedInstancesOfferingId - The ID of the Reserved Instance offering.
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.

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.
See Also:
InstanceType

setInstanceType

public void setInstanceType(java.lang.String instanceType)
The instance type on which the Reserved Instance can be used.

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.
See Also:
InstanceType

withInstanceType

public ReservedInstancesOffering withInstanceType(java.lang.String instanceType)
The instance type on which the Reserved Instance can be used.

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.
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.

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.
See Also:
InstanceType

withInstanceType

public ReservedInstancesOffering withInstanceType(InstanceType instanceType)
The instance type on which the Reserved Instance can be used.

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.
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 ReservedInstancesOffering 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.

getDuration

public java.lang.Long getDuration()
The duration of the Reserved Instance, in seconds.

Returns:
The duration of the Reserved Instance, in seconds.

setDuration

public void setDuration(java.lang.Long duration)
The duration of the Reserved Instance, in seconds.

Parameters:
duration - The duration of the Reserved Instance, in seconds.

withDuration

public ReservedInstancesOffering withDuration(java.lang.Long duration)
The duration of the Reserved Instance, in seconds.

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

Parameters:
duration - The duration of the Reserved Instance, in seconds.
Returns:
A reference to this updated object so that method calls can be chained together.

getUsagePrice

public java.lang.Float getUsagePrice()
The usage price of the Reserved Instance, per hour.

Returns:
The usage price of the Reserved Instance, per hour.

setUsagePrice

public void setUsagePrice(java.lang.Float usagePrice)
The usage price of the Reserved Instance, per hour.

Parameters:
usagePrice - The usage price of the Reserved Instance, per hour.

withUsagePrice

public ReservedInstancesOffering withUsagePrice(java.lang.Float usagePrice)
The usage price of the Reserved Instance, per hour.

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

Parameters:
usagePrice - The usage price of the Reserved Instance, per hour.
Returns:
A reference to this updated object so that method calls can be chained together.

getFixedPrice

public java.lang.Float getFixedPrice()
The purchase price of the Reserved Instance.

Returns:
The purchase price of the Reserved Instance.

setFixedPrice

public void setFixedPrice(java.lang.Float fixedPrice)
The purchase price of the Reserved Instance.

Parameters:
fixedPrice - The purchase price of the Reserved Instance.

withFixedPrice

public ReservedInstancesOffering withFixedPrice(java.lang.Float fixedPrice)
The purchase price of the Reserved Instance.

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

Parameters:
fixedPrice - The purchase price of the Reserved Instance.
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.

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

Returns:
The Reserved Instance description.
See Also:
RIProductDescription

setProductDescription

public void setProductDescription(java.lang.String productDescription)
The Reserved Instance description.

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

Parameters:
productDescription - The Reserved Instance description.
See Also:
RIProductDescription

withProductDescription

public ReservedInstancesOffering withProductDescription(java.lang.String productDescription)
The Reserved Instance description.

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.
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.

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

Parameters:
productDescription - The Reserved Instance description.
See Also:
RIProductDescription

withProductDescription

public ReservedInstancesOffering withProductDescription(RIProductDescription productDescription)
The Reserved Instance description.

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.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
RIProductDescription

getInstanceTenancy

public java.lang.String getInstanceTenancy()
The tenancy of the reserved instance.

Constraints:
Allowed Values: default, dedicated

Returns:
The tenancy of the reserved instance.
See Also:
Tenancy

setInstanceTenancy

public void setInstanceTenancy(java.lang.String instanceTenancy)
The tenancy of the reserved instance.

Constraints:
Allowed Values: default, dedicated

Parameters:
instanceTenancy - The tenancy of the reserved instance.
See Also:
Tenancy

withInstanceTenancy

public ReservedInstancesOffering withInstanceTenancy(java.lang.String instanceTenancy)
The tenancy of the reserved instance.

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.
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.

Constraints:
Allowed Values: default, dedicated

Parameters:
instanceTenancy - The tenancy of the reserved instance.
See Also:
Tenancy

withInstanceTenancy

public ReservedInstancesOffering withInstanceTenancy(Tenancy instanceTenancy)
The tenancy of the reserved instance.

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.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
Tenancy

getCurrencyCode

public java.lang.String getCurrencyCode()
The currency of the Reserved Instance offering you are purchasing. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.

Constraints:
Allowed Values: USD

Returns:
The currency of the Reserved Instance offering you are purchasing. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.
See Also:
CurrencyCodeValues

setCurrencyCode

public void setCurrencyCode(java.lang.String currencyCode)
The currency of the Reserved Instance offering you are purchasing. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.

Constraints:
Allowed Values: USD

Parameters:
currencyCode - The currency of the Reserved Instance offering you are purchasing. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.
See Also:
CurrencyCodeValues

withCurrencyCode

public ReservedInstancesOffering withCurrencyCode(java.lang.String currencyCode)
The currency of the Reserved Instance offering you are purchasing. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.

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

Constraints:
Allowed Values: USD

Parameters:
currencyCode - The currency of the Reserved Instance offering you are purchasing. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
CurrencyCodeValues

setCurrencyCode

public void setCurrencyCode(CurrencyCodeValues currencyCode)
The currency of the Reserved Instance offering you are purchasing. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.

Constraints:
Allowed Values: USD

Parameters:
currencyCode - The currency of the Reserved Instance offering you are purchasing. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.
See Also:
CurrencyCodeValues

withCurrencyCode

public ReservedInstancesOffering withCurrencyCode(CurrencyCodeValues currencyCode)
The currency of the Reserved Instance offering you are purchasing. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.

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

Constraints:
Allowed Values: USD

Parameters:
currencyCode - The currency of the Reserved Instance offering you are purchasing. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
CurrencyCodeValues

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 ReservedInstancesOffering 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 ReservedInstancesOffering 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

getRecurringCharges

public java.util.List<RecurringCharge> getRecurringCharges()
The recurring charge tag assigned to the resource.

Returns:
The recurring charge tag assigned to the resource.

setRecurringCharges

public void setRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)
The recurring charge tag assigned to the resource.

Parameters:
recurringCharges - The recurring charge tag assigned to the resource.

withRecurringCharges

public ReservedInstancesOffering withRecurringCharges(RecurringCharge... recurringCharges)
The recurring charge tag assigned to the resource.

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

Parameters:
recurringCharges - The recurring charge tag assigned to the resource.
Returns:
A reference to this updated object so that method calls can be chained together.

withRecurringCharges

public ReservedInstancesOffering withRecurringCharges(java.util.Collection<RecurringCharge> recurringCharges)
The recurring charge tag assigned to the resource.

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

Parameters:
recurringCharges - The recurring charge tag assigned to the resource.
Returns:
A reference to this updated object so that method calls can be chained together.

isMarketplace

public java.lang.Boolean isMarketplace()
Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or AWS. If it's a Reserved Instance Marketplace offering, this is true.

Returns:
Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or AWS. If it's a Reserved Instance Marketplace offering, this is true.

setMarketplace

public void setMarketplace(java.lang.Boolean marketplace)
Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or AWS. If it's a Reserved Instance Marketplace offering, this is true.

Parameters:
marketplace - Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or AWS. If it's a Reserved Instance Marketplace offering, this is true.

withMarketplace

public ReservedInstancesOffering withMarketplace(java.lang.Boolean marketplace)
Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or AWS. If it's a Reserved Instance Marketplace offering, this is true.

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

Parameters:
marketplace - Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or AWS. If it's a Reserved Instance Marketplace offering, this is true.
Returns:
A reference to this updated object so that method calls can be chained together.

getMarketplace

public java.lang.Boolean getMarketplace()
Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or AWS. If it's a Reserved Instance Marketplace offering, this is true.

Returns:
Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or AWS. If it's a Reserved Instance Marketplace offering, this is true.

getPricingDetails

public java.util.List<PricingDetail> getPricingDetails()
The pricing details of the Reserved Instance offering.

Returns:
The pricing details of the Reserved Instance offering.

setPricingDetails

public void setPricingDetails(java.util.Collection<PricingDetail> pricingDetails)
The pricing details of the Reserved Instance offering.

Parameters:
pricingDetails - The pricing details of the Reserved Instance offering.

withPricingDetails

public ReservedInstancesOffering withPricingDetails(PricingDetail... pricingDetails)
The pricing details of the Reserved Instance offering.

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

Parameters:
pricingDetails - The pricing details of the Reserved Instance offering.
Returns:
A reference to this updated object so that method calls can be chained together.

withPricingDetails

public ReservedInstancesOffering withPricingDetails(java.util.Collection<PricingDetail> pricingDetails)
The pricing details of the Reserved Instance offering.

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

Parameters:
pricingDetails - The pricing details of the Reserved Instance offering.
Returns:
A reference to this updated object so that method calls can be chained together.

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.