code: public ReceiptRule withActions(ReceiptAction... actions) {
          if (this.actions == null) {
              setActions(new com.amazonaws.internal.SdkInternalList<ReceiptAction>(actions.length));
          }
          for (ReceiptAction ele : actions) {
              this.actions.add(ele);
          }
          return this;
      }
docs: <p>
  An ordered list of actions to perform on messages that match at least one of the recipient email addresses or
  domains specified in the receipt rule.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setActions(java.util.Collection)} or {@link #withActions(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param actions
  An ordered list of actions to perform on messages that match at least one of the recipient email addresses
  or domains specified in the receipt rule.
  @return Returns a reference to this object so that method calls can be chained together.