@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListChannelsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListChannelsResult() |
Modifier and Type | Method and Description |
---|---|
ListChannelsResult |
clone() |
boolean |
equals(Object obj) |
List<ChannelSummary> |
getChannels()
The information about each channel.
|
String |
getNextToken()
The token returned from previous API requests until the number of channels is reached.
|
int |
hashCode() |
void |
setChannels(Collection<ChannelSummary> channels)
The information about each channel.
|
void |
setNextToken(String nextToken)
The token returned from previous API requests until the number of channels is reached.
|
String |
toString()
Returns a string representation of this object.
|
ListChannelsResult |
withChannels(ChannelSummary... channels)
The information about each channel.
|
ListChannelsResult |
withChannels(Collection<ChannelSummary> channels)
The information about each channel.
|
ListChannelsResult |
withNextToken(String nextToken)
The token returned from previous API requests until the number of channels is reached.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ChannelSummary> getChannels()
The information about each channel.
public void setChannels(Collection<ChannelSummary> channels)
The information about each channel.
channels
- The information about each channel.public ListChannelsResult withChannels(ChannelSummary... channels)
The information about each channel.
NOTE: This method appends the values to the existing list (if any). Use
setChannels(java.util.Collection)
or withChannels(java.util.Collection)
if you want to override
the existing values.
channels
- The information about each channel.public ListChannelsResult withChannels(Collection<ChannelSummary> channels)
The information about each channel.
channels
- The information about each channel.public void setNextToken(String nextToken)
The token returned from previous API requests until the number of channels is reached.
nextToken
- The token returned from previous API requests until the number of channels is reached.public String getNextToken()
The token returned from previous API requests until the number of channels is reached.
public ListChannelsResult withNextToken(String nextToken)
The token returned from previous API requests until the number of channels is reached.
nextToken
- The token returned from previous API requests until the number of channels is reached.public String toString()
toString
in class Object
Object.toString()
public ListChannelsResult clone()