@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListChannelModeratorsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListChannelModeratorsResult() |
Modifier and Type | Method and Description |
---|---|
ListChannelModeratorsResult |
clone() |
boolean |
equals(Object obj) |
String |
getChannelArn()
The ARN of the channel.
|
List<ChannelModeratorSummary> |
getChannelModerators()
The information about and names of each moderator.
|
String |
getNextToken()
The token passed by previous API calls until all requested moderators are returned.
|
int |
hashCode() |
void |
setChannelArn(String channelArn)
The ARN of the channel.
|
void |
setChannelModerators(Collection<ChannelModeratorSummary> channelModerators)
The information about and names of each moderator.
|
void |
setNextToken(String nextToken)
The token passed by previous API calls until all requested moderators are returned.
|
String |
toString()
Returns a string representation of this object.
|
ListChannelModeratorsResult |
withChannelArn(String channelArn)
The ARN of the channel.
|
ListChannelModeratorsResult |
withChannelModerators(ChannelModeratorSummary... channelModerators)
The information about and names of each moderator.
|
ListChannelModeratorsResult |
withChannelModerators(Collection<ChannelModeratorSummary> channelModerators)
The information about and names of each moderator.
|
ListChannelModeratorsResult |
withNextToken(String nextToken)
The token passed by previous API calls until all requested moderators 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 ListChannelModeratorsResult withChannelArn(String channelArn)
The ARN of the channel.
channelArn
- The ARN of the channel.public void setNextToken(String nextToken)
The token passed by previous API calls until all requested moderators are returned.
nextToken
- The token passed by previous API calls until all requested moderators are returned.public String getNextToken()
The token passed by previous API calls until all requested moderators are returned.
public ListChannelModeratorsResult withNextToken(String nextToken)
The token passed by previous API calls until all requested moderators are returned.
nextToken
- The token passed by previous API calls until all requested moderators are returned.public List<ChannelModeratorSummary> getChannelModerators()
The information about and names of each moderator.
public void setChannelModerators(Collection<ChannelModeratorSummary> channelModerators)
The information about and names of each moderator.
channelModerators
- The information about and names of each moderator.public ListChannelModeratorsResult withChannelModerators(ChannelModeratorSummary... channelModerators)
The information about and names of each moderator.
NOTE: This method appends the values to the existing list (if any). Use
setChannelModerators(java.util.Collection)
or withChannelModerators(java.util.Collection)
if
you want to override the existing values.
channelModerators
- The information about and names of each moderator.public ListChannelModeratorsResult withChannelModerators(Collection<ChannelModeratorSummary> channelModerators)
The information about and names of each moderator.
channelModerators
- The information about and names of each moderator.public String toString()
toString
in class Object
Object.toString()
public ListChannelModeratorsResult clone()