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

        if (obj instanceof GuardrailTraceAssessment == false)
            return false;
        GuardrailTraceAssessment other = (GuardrailTraceAssessment) obj;
        if (other.getModelOutput() == null ^ this.getModelOutput() == null)
            return false;
        if (other.getModelOutput() != null && other.getModelOutput().equals(this.getModelOutput()) == false)
            return false;
        if (other.getInputAssessment() == null ^ this.getInputAssessment() == null)
            return false;
        if (other.getInputAssessment() != null && other.getInputAssessment().equals(this.getInputAssessment()) == false)
            return false;
        if (other.getOutputAssessments() == null ^ this.getOutputAssessments() == null)
            return false;
        if (other.getOutputAssessments() != null && other.getOutputAssessments().equals(this.getOutputAssessments()) == 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-bedrockruntime/src/main/java/com/amazonaws/services/bedrockruntime/model/GuardrailTraceAssessment.java