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

@see GuardrailTraceAssessment#withInputAssessment
@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