public ListHandshakesForAccountResult withHandshakes(Handshake... handshakes) {
        if (this.handshakes == null) {
            setHandshakes(new java.util.ArrayList<Handshake>(handshakes.length));
        }
        for (Handshake ele : handshakes) {
            this.handshakes.add(ele);
        }
        return this;
    }
<p>
A list of <a>Handshake</a> objects with details about each of the handshakes that is associated with the
specified account.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setHandshakes(java.util.Collection)} or {@link #withHandshakes(java.util.Collection)} if you want to
override the existing values.
</p>

@param handshakes
       A list of <a>Handshake</a> objects with details about each of the handshakes that is associated with the
       specified account.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-organizations/src/main/java/com/amazonaws/services/organizations/model/ListHandshakesForAccountResult.java