@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 object that contains details for each member account.
|
String |
getNextToken()
The pagination parameter to be used on the next list operation to retrieve more items.
|
int |
hashCode() |
void |
setMembers(Collection<Member> members)
An object that contains details for each member account.
|
void |
setNextToken(String nextToken)
The pagination parameter to be used on the next list operation to retrieve more items.
|
String |
toString()
Returns a string representation of this object.
|
ListMembersResult |
withMembers(Collection<Member> members)
An object that contains details for each member account.
|
ListMembersResult |
withMembers(Member... members)
An object that contains details for each member account.
|
ListMembersResult |
withNextToken(String nextToken)
The pagination parameter to be used on the next list operation to retrieve more items.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Member> getMembers()
An object that contains details for each member account.
public void setMembers(Collection<Member> members)
An object that contains details for each member account.
members
- An object that contains details for each member account.public ListMembersResult withMembers(Member... members)
An object that contains details for each member account.
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 object that contains details for each member account.public ListMembersResult withMembers(Collection<Member> members)
An object that contains details for each member account.
members
- An object that contains details for each member account.public void setNextToken(String nextToken)
The pagination parameter to be used on the next list operation to retrieve more items.
nextToken
- The pagination parameter to be used on the next list operation to retrieve more items.public String getNextToken()
The pagination parameter to be used on the next list operation to retrieve more items.
public ListMembersResult withNextToken(String nextToken)
The pagination parameter to be used on the next list operation to retrieve more items.
nextToken
- The pagination parameter to be used on the next list operation to retrieve more items.public String toString()
toString
in class Object
Object.toString()
public ListMembersResult clone()