@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()
List of the matching channels.
|
String |
getNextToken()
If there are more channels than
maxResults, use nextToken in the request to get the
next set. |
int |
hashCode() |
void |
setChannels(Collection<ChannelSummary> channels)
List of the matching channels.
|
void |
setNextToken(String nextToken)
If there are more channels than
maxResults, use nextToken in the request to get the
next set. |
String |
toString()
Returns a string representation of this object.
|
ListChannelsResult |
withChannels(ChannelSummary... channels)
List of the matching channels.
|
ListChannelsResult |
withChannels(Collection<ChannelSummary> channels)
List of the matching channels.
|
ListChannelsResult |
withNextToken(String nextToken)
If there are more channels than
maxResults, use nextToken in the request to get the
next set. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<ChannelSummary> getChannels()
List of the matching channels.
public void setChannels(Collection<ChannelSummary> channels)
List of the matching channels.
channels - List of the matching channels.public ListChannelsResult withChannels(ChannelSummary... channels)
List of the matching channels.
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 - List of the matching channels.public ListChannelsResult withChannels(Collection<ChannelSummary> channels)
List of the matching channels.
channels - List of the matching channels.public void setNextToken(String nextToken)
If there are more channels than maxResults, use nextToken in the request to get the
next set.
nextToken - If there are more channels than maxResults, use nextToken in the request to get
the next set.public String getNextToken()
If there are more channels than maxResults, use nextToken in the request to get the
next set.
maxResults, use nextToken in the request to get
the next set.public ListChannelsResult withNextToken(String nextToken)
If there are more channels than maxResults, use nextToken in the request to get the
next set.
nextToken - If there are more channels than maxResults, use nextToken in the request to get
the next set.public String toString()
toString in class ObjectObject.toString()public ListChannelsResult clone()