public RuleAction withDeliverToMailbox(DeliverToMailboxAction deliverToMailbox) {
        setDeliverToMailbox(deliverToMailbox);
        return this;
    }
<p>
This action delivers an email to a WorkMail mailbox.
</p>

@param deliverToMailbox
       This action delivers an email to a WorkMail mailbox.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mailmanager/src/main/java/com/amazonaws/services/mailmanager/model/RuleAction.java