Interface ListPluginsResponse.Builder

  • Method Details

    • nextToken

      ListPluginsResponse.Builder nextToken(String nextToken)

      If the maxResults response was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of plugins.

      Parameters:
      nextToken - If the maxResults response was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of plugins.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • plugins

      Information about a configured plugin.

      Parameters:
      plugins - Information about a configured plugin.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • plugins

      ListPluginsResponse.Builder plugins(Plugin... plugins)

      Information about a configured plugin.

      Parameters:
      plugins - Information about a configured plugin.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • plugins

      Information about a configured plugin.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to plugins(List<Plugin>).

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