@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListUsersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListUsersResult() |
Modifier and Type | Method and Description |
---|---|
ListUsersResult |
clone() |
boolean |
equals(Object obj) |
String |
getBrokerId()
Required.
|
Integer |
getMaxResults()
Required.
|
String |
getNextToken()
The token that specifies the next page of results Amazon MQ should return.
|
List<UserSummary> |
getUsers()
Required.
|
int |
hashCode() |
void |
setBrokerId(String brokerId)
Required.
|
void |
setMaxResults(Integer maxResults)
Required.
|
void |
setNextToken(String nextToken)
The token that specifies the next page of results Amazon MQ should return.
|
void |
setUsers(Collection<UserSummary> users)
Required.
|
String |
toString()
Returns a string representation of this object.
|
ListUsersResult |
withBrokerId(String brokerId)
Required.
|
ListUsersResult |
withMaxResults(Integer maxResults)
Required.
|
ListUsersResult |
withNextToken(String nextToken)
The token that specifies the next page of results Amazon MQ should return.
|
ListUsersResult |
withUsers(Collection<UserSummary> users)
Required.
|
ListUsersResult |
withUsers(UserSummary... users)
Required.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setBrokerId(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.public String getBrokerId()
Required. The unique ID that Amazon MQ generates for the broker.
public ListUsersResult withBrokerId(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.public void setMaxResults(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.public Integer getMaxResults()
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 ListUsersResult withMaxResults(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.public void setNextToken(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.public String getNextToken()
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
public ListUsersResult withNextToken(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.public List<UserSummary> getUsers()
Required. The list of all ActiveMQ usernames for the specified broker. Does not apply to RabbitMQ brokers.
public void setUsers(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.public ListUsersResult withUsers(UserSummary... users)
Required. The list of all ActiveMQ usernames for the specified broker. Does not apply to RabbitMQ brokers.
NOTE: This method appends the values to the existing list (if any). Use
setUsers(java.util.Collection)
or withUsers(java.util.Collection)
if you want to override the
existing values.
users
- Required. The list of all ActiveMQ usernames for the specified broker. Does not apply to RabbitMQ brokers.public ListUsersResult withUsers(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.public String toString()
toString
in class Object
Object.toString()
public ListUsersResult clone()