Interface PricingPlan.Builder

  • Method Details

    • billableEntityCount

      PricingPlan.Builder billableEntityCount(Long billableEntityCount)

      The billable entity count.

      Parameters:
      billableEntityCount - The billable entity count.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bundleInformation

      PricingPlan.Builder bundleInformation(BundleInformation bundleInformation)

      The pricing plan's bundle information.

      Parameters:
      bundleInformation - The pricing plan's bundle information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bundleInformation

      default PricingPlan.Builder bundleInformation(Consumer<BundleInformation.Builder> bundleInformation)

      The pricing plan's bundle information.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to bundleInformation(BundleInformation).

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

      PricingPlan.Builder effectiveDateTime(Instant effectiveDateTime)

      The effective date and time of the pricing plan.

      Parameters:
      effectiveDateTime - The effective date and time of the pricing plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pricingMode

      PricingPlan.Builder pricingMode(String pricingMode)

      The pricing mode.

      Parameters:
      pricingMode - The pricing mode.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pricingMode

      PricingPlan.Builder pricingMode(PricingMode pricingMode)

      The pricing mode.

      Parameters:
      pricingMode - The pricing mode.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updateDateTime

      PricingPlan.Builder updateDateTime(Instant updateDateTime)

      The set date and time for updating a pricing plan.

      Parameters:
      updateDateTime - The set date and time for updating a pricing plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updateReason

      PricingPlan.Builder updateReason(String updateReason)

      The update reason for changing a pricing plan.

      Parameters:
      updateReason - The update reason for changing a pricing plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updateReason

      PricingPlan.Builder updateReason(UpdateReason updateReason)

      The update reason for changing a pricing plan.

      Parameters:
      updateReason - The update reason for changing a pricing plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: