@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSinksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListSinksResult() |
Modifier and Type | Method and Description |
---|---|
ListSinksResult |
clone() |
boolean |
equals(Object obj) |
List<ListSinksItem> |
getItems()
An array of structures that contain the information about the returned sinks.
|
String |
getNextToken()
The token to use when requesting the next set of sinks.
|
int |
hashCode() |
void |
setItems(Collection<ListSinksItem> items)
An array of structures that contain the information about the returned sinks.
|
void |
setNextToken(String nextToken)
The token to use when requesting the next set of sinks.
|
String |
toString()
Returns a string representation of this object.
|
ListSinksResult |
withItems(Collection<ListSinksItem> items)
An array of structures that contain the information about the returned sinks.
|
ListSinksResult |
withItems(ListSinksItem... items)
An array of structures that contain the information about the returned sinks.
|
ListSinksResult |
withNextToken(String nextToken)
The token to use when requesting the next set of sinks.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ListSinksItem> getItems()
An array of structures that contain the information about the returned sinks.
public void setItems(Collection<ListSinksItem> items)
An array of structures that contain the information about the returned sinks.
items
- An array of structures that contain the information about the returned sinks.public ListSinksResult withItems(ListSinksItem... items)
An array of structures that contain the information about the returned sinks.
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
- An array of structures that contain the information about the returned sinks.public ListSinksResult withItems(Collection<ListSinksItem> items)
An array of structures that contain the information about the returned sinks.
items
- An array of structures that contain the information about the returned sinks.public void setNextToken(String nextToken)
The token to use when requesting the next set of sinks.
nextToken
- The token to use when requesting the next set of sinks.public String getNextToken()
The token to use when requesting the next set of sinks.
public ListSinksResult withNextToken(String nextToken)
The token to use when requesting the next set of sinks.
nextToken
- The token to use when requesting the next set of sinks.public String toString()
toString
in class Object
Object.toString()
public ListSinksResult clone()