Interface HostOffering.Builder

    • Method Detail

      • duration

        HostOffering.Builder duration​(Integer duration)

        The duration of the offering (in seconds).

        Parameters:
        duration - The duration of the offering (in seconds).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hourlyPrice

        HostOffering.Builder hourlyPrice​(String hourlyPrice)

        The hourly price of the offering.

        Parameters:
        hourlyPrice - The hourly price of the offering.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceFamily

        HostOffering.Builder instanceFamily​(String instanceFamily)

        The instance family of the offering.

        Parameters:
        instanceFamily - The instance family of the offering.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • offeringId

        HostOffering.Builder offeringId​(String offeringId)

        The ID of the offering.

        Parameters:
        offeringId - The ID of the offering.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • paymentOption

        HostOffering.Builder paymentOption​(String paymentOption)

        The available payment option.

        Parameters:
        paymentOption - The available payment option.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PaymentOption, PaymentOption
      • paymentOption

        HostOffering.Builder paymentOption​(PaymentOption paymentOption)

        The available payment option.

        Parameters:
        paymentOption - The available payment option.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PaymentOption, PaymentOption
      • upfrontPrice

        HostOffering.Builder upfrontPrice​(String upfrontPrice)

        The upfront price of the offering. Does not apply to No Upfront offerings.

        Parameters:
        upfrontPrice - The upfront price of the offering. Does not apply to No Upfront offerings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.