@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 master account and meets the criteria
specified by the onlyAssociated request parameter.
|
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 master account and meets the criteria
specified by the onlyAssociated request parameter.
|
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 master account and meets the criteria
specified by the onlyAssociated request parameter.
|
ListMembersResult |
withMembers(Member... members)
An array of objects, one for each account that's associated with the master account and meets the criteria
specified by the onlyAssociated request parameter.
|
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 master account and meets the criteria specified by the onlyAssociated request parameter.
public void setMembers(Collection<Member> members)
An array of objects, one for each account that's associated with the master account and meets the criteria specified by the onlyAssociated request parameter.
members
- An array of objects, one for each account that's associated with the master account and meets the criteria
specified by the onlyAssociated request parameter.public ListMembersResult withMembers(Member... members)
An array of objects, one for each account that's associated with the master account and meets the criteria specified by the onlyAssociated request parameter.
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 master account and meets the criteria
specified by the onlyAssociated request parameter.public ListMembersResult withMembers(Collection<Member> members)
An array of objects, one for each account that's associated with the master account and meets the criteria specified by the onlyAssociated request parameter.
members
- An array of objects, one for each account that's associated with the master account and meets the criteria
specified by the onlyAssociated request parameter.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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.