public static interface ListServerNeighborsResponse.Builder extends ApplicationDiscoveryResponse.Builder, CopyableBuilder<ListServerNeighborsResponse.Builder,ListServerNeighborsResponse>
Modifier and Type | Method and Description |
---|---|
ListServerNeighborsResponse.Builder |
knownDependencyCount(Long knownDependencyCount)
Count of distinct servers that are one hop away from the given server.
|
ListServerNeighborsResponse.Builder |
neighbors(Collection<NeighborConnectionDetail> neighbors)
List of distinct servers that are one hop away from the given server.
|
ListServerNeighborsResponse.Builder |
neighbors(Consumer<NeighborConnectionDetail.Builder>... neighbors)
List of distinct servers that are one hop away from the given server.
|
ListServerNeighborsResponse.Builder |
neighbors(NeighborConnectionDetail... neighbors)
List of distinct servers that are one hop away from the given server.
|
ListServerNeighborsResponse.Builder |
nextToken(String nextToken)
Token to retrieve the next set of results.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListServerNeighborsResponse.Builder neighbors(Collection<NeighborConnectionDetail> neighbors)
List of distinct servers that are one hop away from the given server.
neighbors
- List of distinct servers that are one hop away from the given server.ListServerNeighborsResponse.Builder neighbors(NeighborConnectionDetail... neighbors)
List of distinct servers that are one hop away from the given server.
neighbors
- List of distinct servers that are one hop away from the given server.ListServerNeighborsResponse.Builder neighbors(Consumer<NeighborConnectionDetail.Builder>... neighbors)
List of distinct servers that are one hop away from the given server.
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 #neighbors(List)
.neighbors
- a consumer that will call methods on List.Builder
#neighbors(List)
ListServerNeighborsResponse.Builder nextToken(String nextToken)
Token to retrieve the next set of results. For example, if you specified 100 IDs for
ListServerNeighborsRequest$neighborConfigurationIds
but set
ListServerNeighborsRequest$maxResults
to 10, you received a set of 10 results along with this
token. Use this token in the next query to retrieve the next set of 10.
nextToken
- Token to retrieve the next set of results. For example, if you specified 100 IDs for
ListServerNeighborsRequest$neighborConfigurationIds
but set
ListServerNeighborsRequest$maxResults
to 10, you received a set of 10 results along with
this token. Use this token in the next query to retrieve the next set of 10.ListServerNeighborsResponse.Builder knownDependencyCount(Long knownDependencyCount)
Count of distinct servers that are one hop away from the given server.
knownDependencyCount
- Count of distinct servers that are one hop away from the given server.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.