@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListChannelGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListChannelGroupsResult() |
Modifier and Type | Method and Description |
---|---|
ListChannelGroupsResult |
clone() |
boolean |
equals(Object obj) |
List<ChannelGroupListConfiguration> |
getItems()
The objects being returned.
|
String |
getNextToken()
The pagination token from the GET list request.
|
int |
hashCode() |
void |
setItems(Collection<ChannelGroupListConfiguration> items)
The objects being returned.
|
void |
setNextToken(String nextToken)
The pagination token from the GET list request.
|
String |
toString()
Returns a string representation of this object.
|
ListChannelGroupsResult |
withItems(ChannelGroupListConfiguration... items)
The objects being returned.
|
ListChannelGroupsResult |
withItems(Collection<ChannelGroupListConfiguration> items)
The objects being returned.
|
ListChannelGroupsResult |
withNextToken(String nextToken)
The pagination token from the GET list request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ChannelGroupListConfiguration> getItems()
The objects being returned.
public void setItems(Collection<ChannelGroupListConfiguration> items)
The objects being returned.
items
- The objects being returned.public ListChannelGroupsResult withItems(ChannelGroupListConfiguration... items)
The objects being returned.
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
- The objects being returned.public ListChannelGroupsResult withItems(Collection<ChannelGroupListConfiguration> items)
The objects being returned.
items
- The objects being returned.public void setNextToken(String nextToken)
The pagination token from the GET list request. Use the token to fetch the next page of results.
nextToken
- The pagination token from the GET list request. Use the token to fetch the next page of results.public String getNextToken()
The pagination token from the GET list request. Use the token to fetch the next page of results.
public ListChannelGroupsResult withNextToken(String nextToken)
The pagination token from the GET list request. Use the token to fetch the next page of results.
nextToken
- The pagination token from the GET list request. Use the token to fetch the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListChannelGroupsResult clone()