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

        if (obj instanceof RulesSource == false)
            return false;
        RulesSource other = (RulesSource) obj;
        if (other.getRulesString() == null ^ this.getRulesString() == null)
            return false;
        if (other.getRulesString() != null && other.getRulesString().equals(this.getRulesString()) == false)
            return false;
        if (other.getRulesSourceList() == null ^ this.getRulesSourceList() == null)
            return false;
        if (other.getRulesSourceList() != null && other.getRulesSourceList().equals(this.getRulesSourceList()) == false)
            return false;
        if (other.getStatefulRules() == null ^ this.getStatefulRules() == null)
            return false;
        if (other.getStatefulRules() != null && other.getStatefulRules().equals(this.getStatefulRules()) == false)
            return false;
        if (other.getStatelessRulesAndCustomActions() == null ^ this.getStatelessRulesAndCustomActions() == null)
            return false;
        if (other.getStatelessRulesAndCustomActions() != null
                && other.getStatelessRulesAndCustomActions().equals(this.getStatelessRulesAndCustomActions()) == 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-networkfirewall/src/main/java/com/amazonaws/services/networkfirewall/model/RulesSource.java