@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListChannelMembershipsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListChannelMembershipsResult() |
Modifier and Type | Method and Description |
---|---|
ListChannelMembershipsResult |
clone() |
boolean |
equals(Object obj) |
String |
getChannelArn()
The ARN of the channel.
|
List<ChannelMembershipSummary> |
getChannelMemberships()
The information for the requested channel memberships.
|
String |
getNextToken()
The token passed by previous API calls until all requested channel memberships are returned.
|
int |
hashCode() |
void |
setChannelArn(String channelArn)
The ARN of the channel.
|
void |
setChannelMemberships(Collection<ChannelMembershipSummary> channelMemberships)
The information for the requested channel memberships.
|
void |
setNextToken(String nextToken)
The token passed by previous API calls until all requested channel memberships are returned.
|
String |
toString()
Returns a string representation of this object.
|
ListChannelMembershipsResult |
withChannelArn(String channelArn)
The ARN of the channel.
|
ListChannelMembershipsResult |
withChannelMemberships(ChannelMembershipSummary... channelMemberships)
The information for the requested channel memberships.
|
ListChannelMembershipsResult |
withChannelMemberships(Collection<ChannelMembershipSummary> channelMemberships)
The information for the requested channel memberships.
|
ListChannelMembershipsResult |
withNextToken(String nextToken)
The token passed by previous API calls until all requested channel memberships are returned.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setChannelArn(String channelArn)
The ARN of the channel.
channelArn
- The ARN of the channel.public String getChannelArn()
The ARN of the channel.
public ListChannelMembershipsResult withChannelArn(String channelArn)
The ARN of the channel.
channelArn
- The ARN of the channel.public List<ChannelMembershipSummary> getChannelMemberships()
The information for the requested channel memberships.
public void setChannelMemberships(Collection<ChannelMembershipSummary> channelMemberships)
The information for the requested channel memberships.
channelMemberships
- The information for the requested channel memberships.public ListChannelMembershipsResult withChannelMemberships(ChannelMembershipSummary... 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 ListChannelMembershipsResult withChannelMemberships(Collection<ChannelMembershipSummary> 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 channel memberships are returned.
nextToken
- The token passed by previous API calls until all requested channel memberships are returned.public String getNextToken()
The token passed by previous API calls until all requested channel memberships are returned.
public ListChannelMembershipsResult withNextToken(String nextToken)
The token passed by previous API calls until all requested channel memberships are returned.
nextToken
- The token passed by previous API calls until all requested channel memberships are returned.public String toString()
toString
in class Object
Object.toString()
public ListChannelMembershipsResult clone()