public ListServerNeighborsResult withNeighbors(NeighborConnectionDetail... neighbors) {
        if (this.neighbors == null) {
            setNeighbors(new java.util.ArrayList<NeighborConnectionDetail>(neighbors.length));
        }
        for (NeighborConnectionDetail ele : neighbors) {
            this.neighbors.add(ele);
        }
        return this;
    }
<p>
List of distinct servers that are one hop away from the given server.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setNeighbors(java.util.Collection)} or {@link #withNeighbors(java.util.Collection)} if you want to
override the existing values.
</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