@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()
The list of channels in the account.
|
String |
getNextToken()
The token to use to get the next page of results after a previous API call.
|
int |
hashCode() |
void |
setChannels(Collection<Channel> channels)
The list of channels in the account.
|
void |
setNextToken(String nextToken)
The token to use to get the next page of results after a previous API call.
|
String |
toString()
Returns a string representation of this object.
|
ListChannelsResult |
withChannels(Channel... channels)
The list of channels in the account.
|
ListChannelsResult |
withChannels(Collection<Channel> channels)
The list of channels in the account.
|
ListChannelsResult |
withNextToken(String nextToken)
The token to use to get the next page of results after a previous API call.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Channel> getChannels()
The list of channels in the account.
public void setChannels(Collection<Channel> channels)
The list of channels in the account.
channels
- The list of channels in the account.public ListChannelsResult withChannels(Channel... channels)
The list of channels in the account.
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 list of channels in the account.public ListChannelsResult withChannels(Collection<Channel> channels)
The list of channels in the account.
channels
- The list of channels in the account.public void setNextToken(String nextToken)
The token to use to get the next page of results after a previous API call.
nextToken
- The token to use to get the next page of results after a previous API call.public String getNextToken()
The token to use to get the next page of results after a previous API call.
public ListChannelsResult withNextToken(String nextToken)
The token to use to get the next page of results after a previous API call.
nextToken
- The token to use to get the next page of results after a previous API call.public String toString()
toString
in class Object
Object.toString()
public ListChannelsResult clone()