@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<MemberSummary> |
getMembers()
An array of
MemberSummary objects. |
String |
getNextToken()
The pagination token that indicates the next set of results to retrieve.
|
int |
hashCode() |
void |
setMembers(Collection<MemberSummary> members)
An array of
MemberSummary objects. |
void |
setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
String |
toString()
Returns a string representation of this object.
|
ListMembersResult |
withMembers(Collection<MemberSummary> members)
An array of
MemberSummary objects. |
ListMembersResult |
withMembers(MemberSummary... members)
An array of
MemberSummary objects. |
ListMembersResult |
withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<MemberSummary> getMembers()
An array of MemberSummary
objects. Each object contains details about a network member.
MemberSummary
objects. Each object contains details about a network member.public void setMembers(Collection<MemberSummary> members)
An array of MemberSummary
objects. Each object contains details about a network member.
members
- An array of MemberSummary
objects. Each object contains details about a network member.public ListMembersResult withMembers(MemberSummary... members)
An array of MemberSummary
objects. Each object contains details about a network member.
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 MemberSummary
objects. Each object contains details about a network member.public ListMembersResult withMembers(Collection<MemberSummary> members)
An array of MemberSummary
objects. Each object contains details about a network member.
members
- An array of MemberSummary
objects. Each object contains details about a network member.public void setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public String getNextToken()
The pagination token that indicates the next set of results to retrieve.
public ListMembersResult withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public String toString()
toString
in class Object
Object.toString()
public ListMembersResult clone()