Interface PriceScheduleSpecification.Builder

    • Method Detail

      • currencyCode

        PriceScheduleSpecification.Builder currencyCode​(String currencyCode)

        The currency for transacting the Reserved Instance resale. At this time, the only supported currency is USD.

        Parameters:
        currencyCode - The currency for transacting the Reserved Instance resale. 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

        PriceScheduleSpecification.Builder currencyCode​(CurrencyCodeValues currencyCode)

        The currency for transacting the Reserved Instance resale. At this time, the only supported currency is USD.

        Parameters:
        currencyCode - The currency for transacting the Reserved Instance resale. 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
      • price

        PriceScheduleSpecification.Builder price​(Double price)

        The fixed price for the term.

        Parameters:
        price - The fixed price for the term.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • term

        PriceScheduleSpecification.Builder term​(Long term)

        The number of months remaining in the reservation. For example, 2 is the second to the last month before the capacity reservation expires.

        Parameters:
        term - The number of months remaining in the reservation. For example, 2 is the second to the last month before the capacity reservation expires.
        Returns:
        Returns a reference to this object so that method calls can be chained together.