public GuardrailTraceAssessment addOutputAssessmentsEntry(String key, java.util.List<GuardrailAssessment> value) {
        if (null == this.outputAssessments) {
            this.outputAssessments = new java.util.HashMap<String, java.util.List<GuardrailAssessment>>();
        }
        if (this.outputAssessments.containsKey(key))
            throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided.");
        this.outputAssessments.put(key, value);
        return this;
    }
Add a single OutputAssessments entry

@see GuardrailTraceAssessment#withOutputAssessments
@returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrockruntime/src/main/java/com/amazonaws/services/bedrockruntime/model/GuardrailTraceAssessment.java