@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) |
boolean |
equalsBySdkFields(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) |
boolean |
hasAgentIds()
Returns true if the AgentIds property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasFilters()
Returns true if the Filters property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
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() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAgentIds()
public final 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.
You can use hasAgentIds() to see if a value was sent in this field.
public final boolean hasFilters()
public final 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.
You can use hasFilters() to see if a value was sent in this field.
{"key": "collectionStatus", "value": "STARTED"}
public final Integer maxResults()
The total number of agents/Connectors to return in a single page of output. The maximum value is 100.
public final 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()
toBuilder in interface ToCopyableBuilder<DescribeAgentsRequest.Builder,DescribeAgentsRequest>toBuilder in class ApplicationDiscoveryRequestpublic static DescribeAgentsRequest.Builder builder()
public static Class<? extends DescribeAgentsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.