public static interface ListDiscoveredResourcesResponse.Builder extends MigrationHubResponse.Builder, CopyableBuilder<ListDiscoveredResourcesResponse.Builder,ListDiscoveredResourcesResponse>
Modifier and Type | Method and Description |
---|---|
ListDiscoveredResourcesResponse.Builder |
discoveredResourceList(Collection<DiscoveredResource> discoveredResourceList)
Returned list of discovered resources associated with the given MigrationTask.
|
ListDiscoveredResourcesResponse.Builder |
discoveredResourceList(Consumer<DiscoveredResource.Builder>... discoveredResourceList)
Returned list of discovered resources associated with the given MigrationTask.
|
ListDiscoveredResourcesResponse.Builder |
discoveredResourceList(DiscoveredResource... discoveredResourceList)
Returned list of discovered resources associated with the given MigrationTask.
|
ListDiscoveredResourcesResponse.Builder |
nextToken(String nextToken)
If there are more discovered resources than the max result, return the next token to be passed to the next
call as a bookmark of where to start from.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListDiscoveredResourcesResponse.Builder nextToken(String nextToken)
If there are more discovered resources than the max result, return the next token to be passed to the next call as a bookmark of where to start from.
nextToken
- If there are more discovered resources than the max result, return the next token to be passed to the
next call as a bookmark of where to start from.ListDiscoveredResourcesResponse.Builder discoveredResourceList(Collection<DiscoveredResource> discoveredResourceList)
Returned list of discovered resources associated with the given MigrationTask.
discoveredResourceList
- Returned list of discovered resources associated with the given MigrationTask.ListDiscoveredResourcesResponse.Builder discoveredResourceList(DiscoveredResource... discoveredResourceList)
Returned list of discovered resources associated with the given MigrationTask.
discoveredResourceList
- Returned list of discovered resources associated with the given MigrationTask.ListDiscoveredResourcesResponse.Builder discoveredResourceList(Consumer<DiscoveredResource.Builder>... discoveredResourceList)
Returned list of discovered resources associated with the given MigrationTask.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #discoveredResourceList(List)
.discoveredResourceList
- a consumer that will call methods on List.Builder
#discoveredResourceList(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.