@Generated(value="software.amazon.awssdk:codegen") public final class ListUsersResponse extends MqResponse implements ToCopyableBuilder<ListUsersResponse.Builder,ListUsersResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListUsersResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
brokerId()
Required.
|
static ListUsersResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasUsers()
For responses, this returns true if the service returned a value for the Users property.
|
Integer |
maxResults()
Required.
|
String |
nextToken()
The token that specifies the next page of results Amazon MQ should return.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListUsersResponse.Builder> |
serializableBuilderClass() |
ListUsersResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<UserSummary> |
users()
Required.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String brokerId()
Required. The unique ID that Amazon MQ generates for the broker.
public final 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.
public final String nextToken()
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
public final boolean hasUsers()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<UserSummary> users()
Required. The list of all ActiveMQ usernames for the specified broker. Does not apply to RabbitMQ brokers.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasUsers() method.
public ListUsersResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListUsersResponse.Builder,ListUsersResponse>toBuilder in class AwsResponsepublic static ListUsersResponse.Builder builder()
public static Class<? extends ListUsersResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.