@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getRulesString() != null)
            sb.append("RulesString: ").append(getRulesString()).append(",");
        if (getRulesSourceList() != null)
            sb.append("RulesSourceList: ").append(getRulesSourceList()).append(",");
        if (getStatefulRules() != null)
            sb.append("StatefulRules: ").append(getStatefulRules()).append(",");
        if (getStatelessRulesAndCustomActions() != null)
            sb.append("StatelessRulesAndCustomActions: ").append(getStatelessRulesAndCustomActions());
        sb.append("}");
        return sb.toString();
    }
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