@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListChannelMembershipsForAppInstanceUserResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListChannelMembershipsForAppInstanceUserResult() |
Modifier and Type | Method and Description |
---|---|
ListChannelMembershipsForAppInstanceUserResult |
clone() |
boolean |
equals(Object obj) |
List<ChannelMembershipForAppInstanceUserSummary> |
getChannelMemberships()
The information for the requested channel memberships.
|
String |
getNextToken()
The token passed by previous API calls until all requested users are returned.
|
int |
hashCode() |
void |
setChannelMemberships(Collection<ChannelMembershipForAppInstanceUserSummary> channelMemberships)
The information for the requested channel memberships.
|
void |
setNextToken(String nextToken)
The token passed by previous API calls until all requested users are returned.
|
String |
toString()
Returns a string representation of this object.
|
ListChannelMembershipsForAppInstanceUserResult |
withChannelMemberships(ChannelMembershipForAppInstanceUserSummary... channelMemberships)
The information for the requested channel memberships.
|
ListChannelMembershipsForAppInstanceUserResult |
withChannelMemberships(Collection<ChannelMembershipForAppInstanceUserSummary> channelMemberships)
The information for the requested channel memberships.
|
ListChannelMembershipsForAppInstanceUserResult |
withNextToken(String nextToken)
The token passed by previous API calls until all requested users are returned.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListChannelMembershipsForAppInstanceUserResult()
public List<ChannelMembershipForAppInstanceUserSummary> getChannelMemberships()
The information for the requested channel memberships.
public void setChannelMemberships(Collection<ChannelMembershipForAppInstanceUserSummary> channelMemberships)
The information for the requested channel memberships.
channelMemberships
- The information for the requested channel memberships.public ListChannelMembershipsForAppInstanceUserResult withChannelMemberships(ChannelMembershipForAppInstanceUserSummary... channelMemberships)
The information for the requested channel memberships.
NOTE: This method appends the values to the existing list (if any). Use
setChannelMemberships(java.util.Collection)
or withChannelMemberships(java.util.Collection)
if
you want to override the existing values.
channelMemberships
- The information for the requested channel memberships.public ListChannelMembershipsForAppInstanceUserResult withChannelMemberships(Collection<ChannelMembershipForAppInstanceUserSummary> channelMemberships)
The information for the requested channel memberships.
channelMemberships
- The information for the requested channel memberships.public void setNextToken(String nextToken)
The token passed by previous API calls until all requested users are returned.
nextToken
- The token passed by previous API calls until all requested users are returned.public String getNextToken()
The token passed by previous API calls until all requested users are returned.
public ListChannelMembershipsForAppInstanceUserResult withNextToken(String nextToken)
The token passed by previous API calls until all requested users are returned.
nextToken
- The token passed by previous API calls until all requested users are returned.public String toString()
toString
in class Object
Object.toString()
public ListChannelMembershipsForAppInstanceUserResult clone()