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

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