Interface ReservedInstancesOffering.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ReservedInstancesOffering.Builder,ReservedInstancesOffering>, SdkBuilder<ReservedInstancesOffering.Builder,ReservedInstancesOffering>, SdkPojo
Enclosing class:
ReservedInstancesOffering

public static interface ReservedInstancesOffering.Builder extends SdkPojo, CopyableBuilder<ReservedInstancesOffering.Builder,ReservedInstancesOffering>
  • Method Details

    • availabilityZone

      ReservedInstancesOffering.Builder availabilityZone(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.
    • duration

      The duration of the Reserved Instance, in seconds.

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

      ReservedInstancesOffering.Builder fixedPrice(Float fixedPrice)

      The purchase price of the Reserved Instance.

      Parameters:
      fixedPrice - The purchase price of the Reserved Instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceType

      ReservedInstancesOffering.Builder instanceType(String instanceType)

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

      Parameters:
      instanceType - The instance type on which the Reserved Instance can be used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • instanceType

      ReservedInstancesOffering.Builder instanceType(InstanceType instanceType)

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

      Parameters:
      instanceType - The instance type on which the Reserved Instance can be used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • productDescription

      ReservedInstancesOffering.Builder productDescription(String productDescription)

      The Reserved Instance product platform description.

      Parameters:
      productDescription - The Reserved Instance product platform description.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • productDescription

      ReservedInstancesOffering.Builder productDescription(RIProductDescription productDescription)

      The Reserved Instance product platform description.

      Parameters:
      productDescription - The Reserved Instance product platform description.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • reservedInstancesOfferingId

      ReservedInstancesOffering.Builder reservedInstancesOfferingId(String reservedInstancesOfferingId)

      The ID of the Reserved Instance offering. This is the offering ID used in GetReservedInstancesExchangeQuote to confirm that an exchange can be made.

      Parameters:
      reservedInstancesOfferingId - The ID of the Reserved Instance offering. This is the offering ID used in GetReservedInstancesExchangeQuote to confirm that an exchange can be made.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • usagePrice

      ReservedInstancesOffering.Builder usagePrice(Float usagePrice)

      The usage price of the Reserved Instance, per hour.

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

      ReservedInstancesOffering.Builder currencyCode(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.

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

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

      ReservedInstancesOffering.Builder instanceTenancy(String instanceTenancy)

      The tenancy of the instance.

      Parameters:
      instanceTenancy - The tenancy of the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • instanceTenancy

      ReservedInstancesOffering.Builder instanceTenancy(Tenancy instanceTenancy)

      The tenancy of the instance.

      Parameters:
      instanceTenancy - The tenancy of the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • marketplace

      ReservedInstancesOffering.Builder marketplace(Boolean marketplace)

      Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or Amazon Web Services. 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 Amazon Web Services. If it's a Reserved Instance Marketplace offering, this is true.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • offeringClass

      ReservedInstancesOffering.Builder offeringClass(String offeringClass)

      If convertible it can be exchanged for Reserved Instances of the same or higher monetary value, with different configurations. If standard, it is not possible to perform an exchange.

      Parameters:
      offeringClass - If convertible it can be exchanged for Reserved Instances of the same or higher monetary value, with different configurations. If standard, it is not possible to perform an exchange.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • offeringClass

      If convertible it can be exchanged for Reserved Instances of the same or higher monetary value, with different configurations. If standard, it is not possible to perform an exchange.

      Parameters:
      offeringClass - If convertible it can be exchanged for Reserved Instances of the same or higher monetary value, with different configurations. If standard, it is not possible to perform an exchange.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • offeringType

      ReservedInstancesOffering.Builder offeringType(String offeringType)

      The Reserved Instance offering type.

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

      The Reserved Instance offering type.

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

      The pricing details of the Reserved Instance offering.

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

      ReservedInstancesOffering.Builder pricingDetails(PricingDetail... pricingDetails)

      The pricing details of the Reserved Instance offering.

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

      The pricing details of the Reserved Instance offering.

      This is a convenience method that creates an instance of the PricingDetail.Builder avoiding the need to create one manually via PricingDetail.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to pricingDetails(List<PricingDetail>).

      Parameters:
      pricingDetails - a consumer that will call methods on PricingDetail.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • recurringCharges

      ReservedInstancesOffering.Builder recurringCharges(Collection<RecurringCharge> recurringCharges)

      The recurring charge tag assigned to the resource.

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

      ReservedInstancesOffering.Builder recurringCharges(RecurringCharge... recurringCharges)

      The recurring charge tag assigned to the resource.

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

      ReservedInstancesOffering.Builder recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)

      The recurring charge tag assigned to the resource.

      This is a convenience method that creates an instance of the RecurringCharge.Builder avoiding the need to create one manually via RecurringCharge.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to recurringCharges(List<RecurringCharge>).

      Parameters:
      recurringCharges - a consumer that will call methods on RecurringCharge.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scope

      Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.

      Parameters:
      scope - Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scope

      Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.

      Parameters:
      scope - Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: