@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> |
getItems()
A list of channels that are associated with this account.
|
String |
getNextToken()
Pagination token returned by the list request when results exceed the maximum allowed.
|
int |
hashCode() |
void |
setItems(Collection<Channel> items)
A list of channels that are associated with this account.
|
void |
setNextToken(String nextToken)
Pagination token returned by the list request when results exceed the maximum allowed.
|
String |
toString()
Returns a string representation of this object.
|
ListChannelsResult |
withItems(Channel... items)
A list of channels that are associated with this account.
|
ListChannelsResult |
withItems(Collection<Channel> items)
A list of channels that are associated with this account.
|
ListChannelsResult |
withNextToken(String nextToken)
Pagination token returned by the list request when results exceed the maximum allowed.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Channel> getItems()
A list of channels that are associated with this account.
public void setItems(Collection<Channel> items)
A list of channels that are associated with this account.
items
- A list of channels that are associated with this account.public ListChannelsResult withItems(Channel... items)
A list of channels that are associated with this account.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- A list of channels that are associated with this account.public ListChannelsResult withItems(Collection<Channel> items)
A list of channels that are associated with this account.
items
- A list of channels that are associated with this account.public void setNextToken(String nextToken)
Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
nextToken
- Pagination token returned by the list request when results exceed the maximum allowed. Use the token to
fetch the next page of results.public String getNextToken()
Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
public ListChannelsResult withNextToken(String nextToken)
Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
nextToken
- Pagination token returned by the list request when results exceed the maximum allowed. Use the token to
fetch the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListChannelsResult clone()