Interface ListServerNeighborsResponse.Builder

    • 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.
      • nextToken

        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.

        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.