@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListMembersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListMembersResult() |
Modifier and Type | Method and Description |
---|---|
ListMembersResult |
clone() |
boolean |
equals(Object obj) |
List<Member> |
getMembers()
An array of objects, one for each account that's associated with the administrator account and matches the
criteria specified in the request.
|
String |
getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response.
|
int |
hashCode() |
void |
setMembers(Collection<Member> members)
An array of objects, one for each account that's associated with the administrator account and matches the
criteria specified in the request.
|
void |
setNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
String |
toString()
Returns a string representation of this object.
|
ListMembersResult |
withMembers(Collection<Member> members)
An array of objects, one for each account that's associated with the administrator account and matches the
criteria specified in the request.
|
ListMembersResult |
withMembers(Member... members)
An array of objects, one for each account that's associated with the administrator account and matches the
criteria specified in the request.
|
ListMembersResult |
withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Member> getMembers()
An array of objects, one for each account that's associated with the administrator account and matches the criteria specified in the request.
public void setMembers(Collection<Member> members)
An array of objects, one for each account that's associated with the administrator account and matches the criteria specified in the request.
members
- An array of objects, one for each account that's associated with the administrator account and matches the
criteria specified in the request.public ListMembersResult withMembers(Member... members)
An array of objects, one for each account that's associated with the administrator account and matches the criteria specified in the request.
NOTE: This method appends the values to the existing list (if any). Use
setMembers(java.util.Collection)
or withMembers(java.util.Collection)
if you want to override
the existing values.
members
- An array of objects, one for each account that's associated with the administrator account and matches the
criteria specified in the request.public ListMembersResult withMembers(Collection<Member> members)
An array of objects, one for each account that's associated with the administrator account and matches the criteria specified in the request.
members
- An array of objects, one for each account that's associated with the administrator account and matches the
criteria specified in the request.public void setNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This
value is null if there are no additional pages.public String getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
public ListMembersResult withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This
value is null if there are no additional pages.public String toString()
toString
in class Object
Object.toString()
public ListMembersResult clone()