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 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

      List of distinct servers that are one hop away from the given server.

      This is a convenience method that creates an instance of the NeighborConnectionDetail.Builder avoiding the need to create one manually via NeighborConnectionDetail.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to neighbors(List<NeighborConnectionDetail>).

      Parameters:
      neighbors - a consumer that will call methods on NeighborConnectionDetail.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$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.

      Parameters:
      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.
      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.