public ListHandshakesForAccountResult withHandshakes(java.util.Collection<Handshake> handshakes) {
        setHandshakes(handshakes);
        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>

@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