@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getNamePattern() != null)
            sb.append("NamePattern: ").append(getNamePattern()).append(",");
        if (getStates() != null)
            sb.append("States: ").append(getStates()).append(",");
        if (getDurationRange() != null)
            sb.append("DurationRange: ").append(getDurationRange()).append(",");
        if (getRulesPackageArns() != null)
            sb.append("RulesPackageArns: ").append(getRulesPackageArns()).append(",");
        if (getStartTimeRange() != null)
            sb.append("StartTimeRange: ").append(getStartTimeRange()).append(",");
        if (getCompletionTimeRange() != null)
            sb.append("CompletionTimeRange: ").append(getCompletionTimeRange()).append(",");
        if (getStateChangeTimeRange() != null)
            sb.append("StateChangeTimeRange: ").append(getStateChangeTimeRange());
        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-inspector/src/main/java/com/amazonaws/services/inspector/model/AssessmentRunFilter.java