Interface ListServerNeighborsResponse.Builder
-
- All Superinterfaces:
ApplicationDiscoveryResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListServerNeighborsResponse.Builder,ListServerNeighborsResponse>,SdkBuilder<ListServerNeighborsResponse.Builder,ListServerNeighborsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListServerNeighborsResponse
public static interface ListServerNeighborsResponse.Builder extends ApplicationDiscoveryResponse.Builder, SdkPojo, CopyableBuilder<ListServerNeighborsResponse.Builder,ListServerNeighborsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListServerNeighborsResponse.BuilderknownDependencyCount(Long knownDependencyCount)Count of distinct servers that are one hop away from the given server.ListServerNeighborsResponse.Builderneighbors(Collection<NeighborConnectionDetail> neighbors)List of distinct servers that are one hop away from the given server.ListServerNeighborsResponse.Builderneighbors(Consumer<NeighborConnectionDetail.Builder>... neighbors)List of distinct servers that are one hop away from the given server.ListServerNeighborsResponse.Builderneighbors(NeighborConnectionDetail... neighbors)List of distinct servers that are one hop away from the given server.ListServerNeighborsResponse.BuildernextToken(String nextToken)Token to retrieve the next set of results.-
Methods inherited from interface software.amazon.awssdk.services.applicationdiscovery.model.ApplicationDiscoveryResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
neighbors
ListServerNeighborsResponse.Builder neighbors(Collection<NeighborConnectionDetail> 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(NeighborConnectionDetail... 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 to#neighbors(List.) - 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:
#neighbors(java.util.Collection)
-
nextToken
ListServerNeighborsResponse.Builder nextToken(String 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
ListServerNeighborsResponse.Builder knownDependencyCount(Long 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.
-
-