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

@see CodegenJobGenericDataSchema#withEnums
@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