Class ReservedInstanceLimitPrice

    • Constructor Detail

      • ReservedInstanceLimitPrice

        public ReservedInstanceLimitPrice()
    • Method Detail

      • setAmount

        public void setAmount​(Double amount)

        Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).

        Parameters:
        amount - Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).
      • getAmount

        public Double getAmount()

        Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).

        Returns:
        Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).
      • withAmount

        public ReservedInstanceLimitPrice withAmount​(Double amount)

        Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).

        Parameters:
        amount - Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCurrencyCode

        public void setCurrencyCode​(String currencyCode)

        The currency in which the limitPrice amount is specified. At this time, the only supported currency is USD.

        Parameters:
        currencyCode - The currency in which the limitPrice amount is specified. At this time, the only supported currency is USD.
        See Also:
        CurrencyCodeValues
      • getCurrencyCode

        public String getCurrencyCode()

        The currency in which the limitPrice amount is specified. At this time, the only supported currency is USD.

        Returns:
        The currency in which the limitPrice amount is specified. At this time, the only supported currency is USD.
        See Also:
        CurrencyCodeValues
      • withCurrencyCode

        public ReservedInstanceLimitPrice withCurrencyCode​(String currencyCode)

        The currency in which the limitPrice amount is specified. At this time, the only supported currency is USD.

        Parameters:
        currencyCode - The currency in which the limitPrice amount is specified. 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
      • setCurrencyCode

        public void setCurrencyCode​(CurrencyCodeValues currencyCode)

        The currency in which the limitPrice amount is specified. At this time, the only supported currency is USD.

        Parameters:
        currencyCode - The currency in which the limitPrice amount is specified. At this time, the only supported currency is USD.
        See Also:
        CurrencyCodeValues
      • withCurrencyCode

        public ReservedInstanceLimitPrice withCurrencyCode​(CurrencyCodeValues currencyCode)

        The currency in which the limitPrice amount is specified. At this time, the only supported currency is USD.

        Parameters:
        currencyCode - The currency in which the limitPrice amount is specified. 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
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object