@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListMembershipsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListMembershipsResult() |
Modifier and Type | Method and Description |
---|---|
ListMembershipsResult |
clone() |
boolean |
equals(Object obj) |
List<MembershipSummary> |
getMembershipSummaries()
The list of memberships returned from the ListMemberships operation.
|
String |
getNextToken()
The token value retrieved from a previous call to access the next page of results.
|
int |
hashCode() |
void |
setMembershipSummaries(Collection<MembershipSummary> membershipSummaries)
The list of memberships returned from the ListMemberships operation.
|
void |
setNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListMembershipsResult |
withMembershipSummaries(Collection<MembershipSummary> membershipSummaries)
The list of memberships returned from the ListMemberships operation.
|
ListMembershipsResult |
withMembershipSummaries(MembershipSummary... membershipSummaries)
The list of memberships returned from the ListMemberships operation.
|
ListMembershipsResult |
withNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
nextToken
- The token value retrieved from a previous call to access the next page of results.public String getNextToken()
The token value retrieved from a previous call to access the next page of results.
public ListMembershipsResult withNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
nextToken
- The token value retrieved from a previous call to access the next page of results.public List<MembershipSummary> getMembershipSummaries()
The list of memberships returned from the ListMemberships operation.
public void setMembershipSummaries(Collection<MembershipSummary> membershipSummaries)
The list of memberships returned from the ListMemberships operation.
membershipSummaries
- The list of memberships returned from the ListMemberships operation.public ListMembershipsResult withMembershipSummaries(MembershipSummary... membershipSummaries)
The list of memberships returned from the ListMemberships operation.
NOTE: This method appends the values to the existing list (if any). Use
setMembershipSummaries(java.util.Collection)
or withMembershipSummaries(java.util.Collection)
if you want to override the existing values.
membershipSummaries
- The list of memberships returned from the ListMemberships operation.public ListMembershipsResult withMembershipSummaries(Collection<MembershipSummary> membershipSummaries)
The list of memberships returned from the ListMemberships operation.
membershipSummaries
- The list of memberships returned from the ListMemberships operation.public String toString()
toString
in class Object
Object.toString()
public ListMembershipsResult clone()