Interface ListServerNeighborsResponse.Builder
- All Superinterfaces:
ApplicationDiscoveryResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListServerNeighborsResponse.Builder,,ListServerNeighborsResponse> SdkBuilder<ListServerNeighborsResponse.Builder,,ListServerNeighborsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListServerNeighborsResponse
-
Method Summary
Modifier and TypeMethodDescriptionknownDependencyCount(Long knownDependencyCount) Count of distinct servers that are one hop away from the given server.neighbors(Collection<NeighborConnectionDetail> neighbors) List of distinct servers that are one hop away from the given server.neighbors(Consumer<NeighborConnectionDetail.Builder>... neighbors) List of distinct servers that are one hop away from the given server.neighbors(NeighborConnectionDetail... neighbors) List of distinct servers that are one hop away from the given server.Token to retrieve the next set of results.Methods inherited from interface software.amazon.awssdk.services.applicationdiscovery.model.ApplicationDiscoveryResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
neighbors
List of distinct servers that are one hop away from the given server.
- Parameters:
neighbors- List of distinct servers that are one hop away from the given server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
neighbors
List of distinct servers that are one hop away from the given server.
- Parameters:
neighbors- List of distinct servers that are one hop away from the given server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
neighbors
ListServerNeighborsResponse.Builder neighbors(Consumer<NeighborConnectionDetail.Builder>... neighbors) List of distinct servers that are one hop away from the given server.
This is a convenience method that creates an instance of theNeighborConnectionDetail.Builderavoiding the need to create one manually viaNeighborConnectionDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toneighbors(List<NeighborConnectionDetail>).- Parameters:
neighbors- a consumer that will call methods onNeighborConnectionDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Token to retrieve the next set of results. For example, if you specified 100 IDs for
ListServerNeighborsRequest$neighborConfigurationIdsbut setListServerNeighborsRequest$maxResultsto 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.- Parameters:
nextToken- Token to retrieve the next set of results. For example, if you specified 100 IDs forListServerNeighborsRequest$neighborConfigurationIdsbut setListServerNeighborsRequest$maxResultsto 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
knownDependencyCount
Count of distinct servers that are one hop away from the given server.
- Parameters:
knownDependencyCount- Count of distinct servers that are one hop away from the given server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-