Interface ListSubscriptionsResponse.Builder

  • Method Details

    • nextToken

      If the response is truncated, Amazon Q Business returns this token. You can use this token in a subsequent request to retrieve the next set of subscriptions.

      Parameters:
      nextToken - If the response is truncated, Amazon Q Business returns this token. You can use this token in a subsequent request to retrieve the next set of subscriptions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subscriptions

      An array of summary information on the subscriptions configured for an Amazon Q Business application.

      Parameters:
      subscriptions - An array of summary information on the subscriptions configured for an Amazon Q Business application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subscriptions

      ListSubscriptionsResponse.Builder subscriptions(Subscription... subscriptions)

      An array of summary information on the subscriptions configured for an Amazon Q Business application.

      Parameters:
      subscriptions - An array of summary information on the subscriptions configured for an Amazon Q Business application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subscriptions

      An array of summary information on the subscriptions configured for an Amazon Q Business application.

      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 subscriptions(List<Subscription>).

      Parameters:
      subscriptions - 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: