public static interface ListUsersResponse.Builder extends MqResponse.Builder, SdkPojo, CopyableBuilder<ListUsersResponse.Builder,ListUsersResponse>
| Modifier and Type | Method and Description |
|---|---|
ListUsersResponse.Builder |
brokerId(String brokerId)
Required.
|
ListUsersResponse.Builder |
maxResults(Integer maxResults)
Required.
|
ListUsersResponse.Builder |
nextToken(String nextToken)
The token that specifies the next page of results Amazon MQ should return.
|
ListUsersResponse.Builder |
users(Collection<UserSummary> users)
Required.
|
ListUsersResponse.Builder |
users(Consumer<UserSummary.Builder>... users)
Required.
|
ListUsersResponse.Builder |
users(UserSummary... users)
Required.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListUsersResponse.Builder brokerId(String brokerId)
Required. The unique ID that Amazon MQ generates for the broker.
brokerId - Required. The unique ID that Amazon MQ generates for the broker.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.
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.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.
nextToken - The token that specifies the next page of results Amazon MQ should return. To request the first page,
leave nextToken empty.ListUsersResponse.Builder users(Collection<UserSummary> users)
Required. The list of all ActiveMQ usernames for the specified broker. Does not apply to RabbitMQ brokers.
users - Required. The list of all ActiveMQ usernames for the specified broker. Does not apply to RabbitMQ
brokers.ListUsersResponse.Builder users(UserSummary... users)
Required. The list of all ActiveMQ usernames for the specified broker. Does not apply to RabbitMQ brokers.
users - Required. The list of all ActiveMQ usernames for the specified broker. Does not apply to RabbitMQ
brokers.ListUsersResponse.Builder users(Consumer<UserSummary.Builder>... 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 theUserSummary.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.
users - a consumer that will call methods on
UserSummary.Builder#users(java.util.Collection) Copyright © 2022. All rights reserved.