Interface ReservedInstancesOffering.Builder

    • Method Detail

      • 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

        ReservedInstancesOffering.Builder duration​(Long 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, InstanceType
      • 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:
        InstanceType, InstanceType
      • 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:
        CurrencyCodeValues, CurrencyCodeValues
      • currencyCode

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

        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:
        CurrencyCodeValues, CurrencyCodeValues
      • 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:
        Tenancy, Tenancy
      • 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:
        Tenancy, Tenancy
      • 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:
        OfferingClassType, OfferingClassType
      • offeringClass

        ReservedInstancesOffering.Builder offeringClass​(OfferingClassType 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:
        OfferingClassType, OfferingClassType
      • pricingDetails

        ReservedInstancesOffering.Builder pricingDetails​(Collection<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

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

        ReservedInstancesOffering.Builder scope​(String 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, Scope
      • scope

        ReservedInstancesOffering.Builder scope​(Scope 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, Scope