@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof RuleAction == false)
            return false;
        RuleAction other = (RuleAction) obj;
        if (other.getAddHeader() == null ^ this.getAddHeader() == null)
            return false;
        if (other.getAddHeader() != null && other.getAddHeader().equals(this.getAddHeader()) == false)
            return false;
        if (other.getArchive() == null ^ this.getArchive() == null)
            return false;
        if (other.getArchive() != null && other.getArchive().equals(this.getArchive()) == false)
            return false;
        if (other.getDeliverToMailbox() == null ^ this.getDeliverToMailbox() == null)
            return false;
        if (other.getDeliverToMailbox() != null && other.getDeliverToMailbox().equals(this.getDeliverToMailbox()) == false)
            return false;
        if (other.getDrop() == null ^ this.getDrop() == null)
            return false;
        if (other.getDrop() != null && other.getDrop().equals(this.getDrop()) == false)
            return false;
        if (other.getRelay() == null ^ this.getRelay() == null)
            return false;
        if (other.getRelay() != null && other.getRelay().equals(this.getRelay()) == false)
            return false;
        if (other.getReplaceRecipient() == null ^ this.getReplaceRecipient() == null)
            return false;
        if (other.getReplaceRecipient() != null && other.getReplaceRecipient().equals(this.getReplaceRecipient()) == false)
            return false;
        if (other.getSend() == null ^ this.getSend() == null)
            return false;
        if (other.getSend() != null && other.getSend().equals(this.getSend()) == false)
            return false;
        if (other.getWriteToS3() == null ^ this.getWriteToS3() == null)
            return false;
        if (other.getWriteToS3() != null && other.getWriteToS3().equals(this.getWriteToS3()) == false)
            return false;
        return true;
    }
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-mailmanager/src/main/java/com/amazonaws/services/mailmanager/model/RuleAction.java