@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<Channel> |
getChannels()
A list of Channel records.
|
String |
getNextToken()
A token that can be used to resume pagination from the end of the collection.
|
int |
hashCode() |
void |
setChannels(Collection<Channel> channels)
A list of Channel records.
|
void |
setNextToken(String nextToken)
A token that can be used to resume pagination from the end of the collection.
|
String |
toString()
Returns a string representation of this object.
|
ListChannelsResult |
withChannels(Channel... channels)
A list of Channel records.
|
ListChannelsResult |
withChannels(Collection<Channel> channels)
A list of Channel records.
|
ListChannelsResult |
withNextToken(String nextToken)
A token that can be used to resume pagination from the end of the collection.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Channel> getChannels()
public void setChannels(Collection<Channel> channels)
channels
- A list of Channel records.public ListChannelsResult withChannels(Channel... 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
- A list of Channel records.public ListChannelsResult withChannels(Collection<Channel> channels)
channels
- A list of Channel records.public void setNextToken(String nextToken)
nextToken
- A token that can be used to resume pagination from the end of the collection.public String getNextToken()
public ListChannelsResult withNextToken(String nextToken)
nextToken
- A token that can be used to resume pagination from the end of the collection.public String toString()
toString
in class Object
Object.toString()
public ListChannelsResult clone()