@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAgentsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeAgentsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeAgentsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAgentIds()
The agent or the collector IDs for which you want information.
|
List<Filter> |
getFilters()
You can filter the request using various logical operators and a key-value format.
|
Integer |
getMaxResults()
The total number of agents/collectors to return in a single page of output.
|
String |
getNextToken()
Token to retrieve the next set of results.
|
int |
hashCode() |
void |
setAgentIds(Collection<String> agentIds)
The agent or the collector IDs for which you want information.
|
void |
setFilters(Collection<Filter> filters)
You can filter the request using various logical operators and a key-value format.
|
void |
setMaxResults(Integer maxResults)
The total number of agents/collectors to return in a single page of output.
|
void |
setNextToken(String nextToken)
Token to retrieve the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeAgentsRequest |
withAgentIds(Collection<String> agentIds)
The agent or the collector IDs for which you want information.
|
DescribeAgentsRequest |
withAgentIds(String... agentIds)
The agent or the collector IDs for which you want information.
|
DescribeAgentsRequest |
withFilters(Collection<Filter> filters)
You can filter the request using various logical operators and a key-value format.
|
DescribeAgentsRequest |
withFilters(Filter... filters)
You can filter the request using various logical operators and a key-value format.
|
DescribeAgentsRequest |
withMaxResults(Integer maxResults)
The total number of agents/collectors to return in a single page of output.
|
DescribeAgentsRequest |
withNextToken(String nextToken)
Token to retrieve the next set of results.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getAgentIds()
The agent or the collector IDs for which you want information. If you specify no IDs, the system returns information about all agents/collectors associated with your user.
public void setAgentIds(Collection<String> agentIds)
The agent or the collector IDs for which you want information. If you specify no IDs, the system returns information about all agents/collectors associated with your user.
agentIds
- The agent or the collector IDs for which you want information. If you specify no IDs, the system returns
information about all agents/collectors associated with your user.public DescribeAgentsRequest withAgentIds(String... agentIds)
The agent or the collector IDs for which you want information. If you specify no IDs, the system returns information about all agents/collectors associated with your user.
NOTE: This method appends the values to the existing list (if any). Use
setAgentIds(java.util.Collection)
or withAgentIds(java.util.Collection)
if you want to override
the existing values.
agentIds
- The agent or the collector IDs for which you want information. If you specify no IDs, the system returns
information about all agents/collectors associated with your user.public DescribeAgentsRequest withAgentIds(Collection<String> agentIds)
The agent or the collector IDs for which you want information. If you specify no IDs, the system returns information about all agents/collectors associated with your user.
agentIds
- The agent or the collector IDs for which you want information. If you specify no IDs, the system returns
information about all agents/collectors associated with your user.public List<Filter> getFilters()
You can filter the request using various logical operators and a key-value format. For example:
{"key": "collectionStatus", "value": "STARTED"}
{"key": "collectionStatus", "value": "STARTED"}
public void setFilters(Collection<Filter> filters)
You can filter the request using various logical operators and a key-value format. For example:
{"key": "collectionStatus", "value": "STARTED"}
filters
- You can filter the request using various logical operators and a key-value format. For
example:
{"key": "collectionStatus", "value": "STARTED"}
public DescribeAgentsRequest withFilters(Filter... filters)
You can filter the request using various logical operators and a key-value format. For example:
{"key": "collectionStatus", "value": "STARTED"}
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- You can filter the request using various logical operators and a key-value format. For
example:
{"key": "collectionStatus", "value": "STARTED"}
public DescribeAgentsRequest withFilters(Collection<Filter> filters)
You can filter the request using various logical operators and a key-value format. For example:
{"key": "collectionStatus", "value": "STARTED"}
filters
- You can filter the request using various logical operators and a key-value format. For
example:
{"key": "collectionStatus", "value": "STARTED"}
public void setMaxResults(Integer maxResults)
The total number of agents/collectors to return in a single page of output. The maximum value is 100.
maxResults
- The total number of agents/collectors to return in a single page of output. The maximum value is 100.public Integer getMaxResults()
The total number of agents/collectors to return in a single page of output. The maximum value is 100.
public DescribeAgentsRequest withMaxResults(Integer maxResults)
The total number of agents/collectors to return in a single page of output. The maximum value is 100.
maxResults
- The total number of agents/collectors to return in a single page of output. The maximum value is 100.public void setNextToken(String nextToken)
Token to retrieve the next set of results. For example, if you previously specified 100 IDs for
DescribeAgentsRequest$agentIds
but set DescribeAgentsRequest$maxResults
to 10, you
received a set of 10 results along with a token. Use that token in this query to get the next set of 10.
nextToken
- Token to retrieve the next set of results. For example, if you previously specified 100 IDs for
DescribeAgentsRequest$agentIds
but set DescribeAgentsRequest$maxResults
to 10,
you received a set of 10 results along with a token. Use that token in this query to get the next set of
10.public String getNextToken()
Token to retrieve the next set of results. For example, if you previously specified 100 IDs for
DescribeAgentsRequest$agentIds
but set DescribeAgentsRequest$maxResults
to 10, you
received a set of 10 results along with a token. Use that token in this query to get the next set of 10.
DescribeAgentsRequest$agentIds
but set DescribeAgentsRequest$maxResults
to 10,
you received a set of 10 results along with a token. Use that token in this query to get the next set of
10.public DescribeAgentsRequest withNextToken(String nextToken)
Token to retrieve the next set of results. For example, if you previously specified 100 IDs for
DescribeAgentsRequest$agentIds
but set DescribeAgentsRequest$maxResults
to 10, you
received a set of 10 results along with a token. Use that token in this query to get the next set of 10.
nextToken
- Token to retrieve the next set of results. For example, if you previously specified 100 IDs for
DescribeAgentsRequest$agentIds
but set DescribeAgentsRequest$maxResults
to 10,
you received a set of 10 results along with a token. Use that token in this query to get the next set of
10.public String toString()
toString
in class Object
Object.toString()
public DescribeAgentsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()