@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCollectorsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListCollectorsResult() |
Modifier and Type | Method and Description |
---|---|
ListCollectorsResult |
clone() |
boolean |
equals(Object obj) |
List<Collector> |
getCollectors()
The list of all the installed collectors.
|
String |
getNextToken()
The token you use to retrieve the next set of results, or null if there are no more results.
|
int |
hashCode() |
void |
setCollectors(Collection<Collector> collectors)
The list of all the installed collectors.
|
void |
setNextToken(String nextToken)
The token you use to retrieve the next set of results, or null if there are no more results.
|
String |
toString()
Returns a string representation of this object.
|
ListCollectorsResult |
withCollectors(Collection<Collector> collectors)
The list of all the installed collectors.
|
ListCollectorsResult |
withCollectors(Collector... collectors)
The list of all the installed collectors.
|
ListCollectorsResult |
withNextToken(String nextToken)
The token you use to retrieve the next set of results, or null if there are no more results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Collector> getCollectors()
The list of all the installed collectors.
public void setCollectors(Collection<Collector> collectors)
The list of all the installed collectors.
collectors
- The list of all the installed collectors.public ListCollectorsResult withCollectors(Collector... collectors)
The list of all the installed collectors.
NOTE: This method appends the values to the existing list (if any). Use
setCollectors(java.util.Collection)
or withCollectors(java.util.Collection)
if you want to
override the existing values.
collectors
- The list of all the installed collectors.public ListCollectorsResult withCollectors(Collection<Collector> collectors)
The list of all the installed collectors.
collectors
- The list of all the installed collectors.public void setNextToken(String nextToken)
The token you use to retrieve the next set of results, or null if there are no more results.
nextToken
- The token you use to retrieve the next set of results, or null if there are no more results.public String getNextToken()
The token you use to retrieve the next set of results, or null if there are no more results.
public ListCollectorsResult withNextToken(String nextToken)
The token you use to retrieve the next set of results, or null if there are no more results.
nextToken
- The token you use to retrieve the next set of results, or null if there are no more results.public String toString()
toString
in class Object
Object.toString()
public ListCollectorsResult clone()