public static interface ListAgentsResponse.Builder extends DataSyncResponse.Builder, SdkPojo, CopyableBuilder<ListAgentsResponse.Builder,ListAgentsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListAgentsResponse.Builder |
agents(AgentListEntry... agents)
A list of DataSync agents in your Amazon Web Services account in the Amazon Web Services Region specified in
the request.
|
ListAgentsResponse.Builder |
agents(Collection<AgentListEntry> agents)
A list of DataSync agents in your Amazon Web Services account in the Amazon Web Services Region specified in
the request.
|
ListAgentsResponse.Builder |
agents(Consumer<AgentListEntry.Builder>... agents)
A list of DataSync agents in your Amazon Web Services account in the Amazon Web Services Region specified in
the request.
|
ListAgentsResponse.Builder |
nextToken(String nextToken)
The opaque string that indicates the position to begin the next list of results in the response.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListAgentsResponse.Builder agents(Collection<AgentListEntry> agents)
A list of DataSync agents in your Amazon Web Services account in the Amazon Web Services Region specified in the request. The list is ordered by the agents' Amazon Resource Names (ARNs).
agents - A list of DataSync agents in your Amazon Web Services account in the Amazon Web Services Region
specified in the request. The list is ordered by the agents' Amazon Resource Names (ARNs).ListAgentsResponse.Builder agents(AgentListEntry... agents)
A list of DataSync agents in your Amazon Web Services account in the Amazon Web Services Region specified in the request. The list is ordered by the agents' Amazon Resource Names (ARNs).
agents - A list of DataSync agents in your Amazon Web Services account in the Amazon Web Services Region
specified in the request. The list is ordered by the agents' Amazon Resource Names (ARNs).ListAgentsResponse.Builder agents(Consumer<AgentListEntry.Builder>... agents)
A list of DataSync agents in your Amazon Web Services account in the Amazon Web Services Region specified in the request. The list is ordered by the agents' Amazon Resource Names (ARNs).
This is a convenience method that creates an instance of theAgentListEntry.Builder avoiding the need to create one
manually via AgentListEntry.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #agents(List.
agents - a consumer that will call methods on
AgentListEntry.Builder#agents(java.util.Collection) ListAgentsResponse.Builder nextToken(String nextToken)
The opaque string that indicates the position to begin the next list of results in the response.
nextToken - The opaque string that indicates the position to begin the next list of results in the response.Copyright © 2023. All rights reserved.