public void setNeighbors(java.util.Collection<NeighborConnectionDetail> neighbors) {
        if (neighbors == null) {
            this.neighbors = null;
            return;
        }

        this.neighbors = new java.util.ArrayList<NeighborConnectionDetail>(neighbors);
    }
<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.
aws-java-sdk-discovery/src/main/java/com/amazonaws/services/applicationdiscovery/model/ListServerNeighborsResult.java