@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)
brokerId
- Required. The unique ID that Amazon MQ generates for the broker.public String getBrokerId()
public ListUsersResult withBrokerId(String brokerId)
brokerId
- Required. The unique ID that Amazon MQ generates for the broker.public void setMaxResults(Integer maxResults)
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()
public ListUsersResult withMaxResults(Integer maxResults)
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)
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()
public ListUsersResult withNextToken(String nextToken)
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()
public void setUsers(Collection<UserSummary> users)
users
- Required. The list of all ActiveMQ usernames for the specified broker.public ListUsersResult withUsers(UserSummary... users)
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.public ListUsersResult withUsers(Collection<UserSummary> users)
users
- Required. The list of all ActiveMQ usernames for the specified broker.public String toString()
toString
in class Object
Object.toString()
public ListUsersResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.