Interface ListUsersResponse.Builder

  • Method Details

    • brokerId

      ListUsersResponse.Builder brokerId(String brokerId)

      Required. The unique ID that Amazon MQ generates for the broker.

      Parameters:
      brokerId - Required. The unique ID that Amazon MQ generates for the broker.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      ListUsersResponse.Builder maxResults(Integer maxResults)

      Required. The maximum number of ActiveMQ users that can be returned per page (20 by default). This value must be an integer from 5 to 100.

      Parameters:
      maxResults - Required. The maximum number of ActiveMQ users that can be returned per page (20 by default). This value must be an integer from 5 to 100.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListUsersResponse.Builder nextToken(String nextToken)

      The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.

      Parameters:
      nextToken - The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • users

      Required. The list of all ActiveMQ usernames for the specified broker. Does not apply to RabbitMQ brokers.

      Parameters:
      users - Required. The list of all ActiveMQ usernames for the specified broker. Does not apply to RabbitMQ brokers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • users

      Required. The list of all ActiveMQ usernames for the specified broker. Does not apply to RabbitMQ brokers.

      Parameters:
      users - Required. The list of all ActiveMQ usernames for the specified broker. Does not apply to RabbitMQ brokers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • users

      Required. The list of all ActiveMQ usernames for the specified broker. Does not apply to RabbitMQ brokers.

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

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

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