public ListServerNeighborsResult withNeighbors(java.util.Collection<NeighborConnectionDetail> neighbors) {
        setNeighbors(neighbors);
        return this;
    }
<p>
List of distinct servers that are one hop away from the given server.
</p>

@param neighbors
       List of distinct servers that are one hop away from the given server.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-discovery/src/main/java/com/amazonaws/services/applicationdiscovery/model/ListServerNeighborsResult.java