public ProposalActions withInvitations(InviteAction... invitations) {
        if (this.invitations == null) {
            setInvitations(new java.util.ArrayList<InviteAction>(invitations.length));
        }
        for (InviteAction ele : invitations) {
            this.invitations.add(ele);
        }
        return this;
    }
<p>
The actions to perform for an <code>APPROVED</code> proposal to invite an Amazon Web Services account to create a
member and join the network.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setInvitations(java.util.Collection)} or {@link #withInvitations(java.util.Collection)} if you want to
override the existing values.
</p>

@param invitations
       The actions to perform for an <code>APPROVED</code> proposal to invite an Amazon Web Services account to
       create a member and join the network.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-managedblockchain/src/main/java/com/amazonaws/services/managedblockchain/model/ProposalActions.java