@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> |
getChannelSummaries()
A list of "ChannelSummary" objects.
|
String |
getNextToken()
The token to retrieve the next set of results, or
null if there are no more results. |
int |
hashCode() |
void |
setChannelSummaries(Collection<ChannelSummary> channelSummaries)
A list of "ChannelSummary" objects.
|
void |
setNextToken(String nextToken)
The token to retrieve the next set of results, or
null if there are no more results. |
String |
toString()
Returns a string representation of this object.
|
ListChannelsResult |
withChannelSummaries(ChannelSummary... channelSummaries)
A list of "ChannelSummary" objects.
|
ListChannelsResult |
withChannelSummaries(Collection<ChannelSummary> channelSummaries)
A list of "ChannelSummary" objects.
|
ListChannelsResult |
withNextToken(String nextToken)
The token to retrieve the next set of results, or
null if there are no more results. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ChannelSummary> getChannelSummaries()
A list of "ChannelSummary" objects.
public void setChannelSummaries(Collection<ChannelSummary> channelSummaries)
A list of "ChannelSummary" objects.
channelSummaries
- A list of "ChannelSummary" objects.public ListChannelsResult withChannelSummaries(ChannelSummary... channelSummaries)
A list of "ChannelSummary" objects.
NOTE: This method appends the values to the existing list (if any). Use
setChannelSummaries(java.util.Collection)
or withChannelSummaries(java.util.Collection)
if you
want to override the existing values.
channelSummaries
- A list of "ChannelSummary" objects.public ListChannelsResult withChannelSummaries(Collection<ChannelSummary> channelSummaries)
A list of "ChannelSummary" objects.
channelSummaries
- A list of "ChannelSummary" objects.public void setNextToken(String nextToken)
The token to retrieve the next set of results, or null
if there are no more results.
nextToken
- The token to retrieve the next set of results, or null
if there are no more results.public String getNextToken()
The token to retrieve the next set of results, or null
if there are no more results.
null
if there are no more results.public ListChannelsResult withNextToken(String nextToken)
The token to retrieve the next set of results, or null
if there are no more results.
nextToken
- The token to retrieve the next set of results, or null
if there are no more results.public String toString()
toString
in class Object
Object.toString()
public ListChannelsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.