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