Interface UpdateSubscriptionResponse.Builder

  • Method Details

    • subscription

      The details of the updated subscription. For downgrades, the current tier remains unchanged and a scheduledChange indicates the pending change.

      Parameters:
      subscription - The details of the updated subscription. For downgrades, the current tier remains unchanged and a scheduledChange indicates the pending change.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subscription

      The details of the updated subscription. For downgrades, the current tier remains unchanged and a scheduledChange indicates the pending change.

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

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

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

      The updated entity tag for concurrency control.

      Parameters:
      eTag - The updated entity tag for concurrency control.
      Returns:
      Returns a reference to this object so that method calls can be chained together.