@Generated(value="software.amazon.awssdk:codegen") public final class DescribeAgentsRequest extends ApplicationDiscoveryRequest implements ToCopyableBuilder<DescribeAgentsRequest.Builder,DescribeAgentsRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeAgentsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
List<String> |
agentIds()
The agent or the Connector IDs for which you want information.
|
static DescribeAgentsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
List<Filter> |
filters()
You can filter the request using various logical operators and a key-value format.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
maxResults()
The total number of agents/Connectors to return in a single page of output.
|
String |
nextToken()
Token to retrieve the next set of results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeAgentsRequest.Builder> |
serializableBuilderClass() |
DescribeAgentsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public List<String> agentIds()
The agent or the Connector IDs for which you want information. If you specify no IDs, the system returns information about all agents/Connectors associated with your AWS user account.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<Filter> filters()
You can filter the request using various logical operators and a key-value format. For example:
{"key": "collectionStatus", "value": "STARTED"}
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
{"key": "collectionStatus", "value": "STARTED"}
public Integer maxResults()
The total number of agents/Connectors to return in a single page of output. The maximum value is 100.
public 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.
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.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeAgentsRequest.Builder,DescribeAgentsRequest>
toBuilder
in class ApplicationDiscoveryRequest
public static DescribeAgentsRequest.Builder builder()
public static Class<? extends DescribeAgentsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.