@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() |
String |
getNextToken() |
int |
hashCode() |
void |
setChannels(Collection<ChannelSummary> channels) |
void |
setNextToken(String nextToken) |
String |
toString()
Returns a string representation of this object.
|
ListChannelsResult |
withChannels(ChannelSummary... channels)
NOTE: This method appends the values to the existing list (if any).
|
ListChannelsResult |
withChannels(Collection<ChannelSummary> channels) |
ListChannelsResult |
withNextToken(String nextToken) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ChannelSummary> getChannels()
public void setChannels(Collection<ChannelSummary> channels)
channels
- public ListChannelsResult withChannels(ChannelSummary... 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
- public ListChannelsResult withChannels(Collection<ChannelSummary> channels)
channels
- public void setNextToken(String nextToken)
nextToken
- public String getNextToken()
public ListChannelsResult withNextToken(String nextToken)
nextToken
- public String toString()
toString
in class Object
Object.toString()
public ListChannelsResult clone()