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

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