Interface ListUsersResponse.Builder

    • Method Detail

      • 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

        ListUsersResponse.Builder users​(Collection<UserSummary> 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

        ListUsersResponse.Builder users​(UserSummary... 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.