public Builder mergeOverride()

in src/main/java/aws/cfn/codegen/json/Config.java [51:65]


        public Builder mergeOverride(Config other) {
            Objects.requireNonNull(other);
            Settings settings = other.getSettings();
            if (settings != null) {
                this.draft = settings.getDraft() != null ? settings.getDraft() : this.draft;
                this.outputDir = settings.getOutput() != null ? settings.getOutput() : this.outputDir;
                this.regions = settings.getRegions() != null ? settings.getRegions() : this.regions;
                this.singleResourceSpec = settings.getSingle() != null ? settings.getSingle() : this.singleResourceSpec;
                this.includeIntrinsics = settings.getIncludeIntrinsics() != null ? settings.getIncludeIntrinsics() :
                    this.includeIntrinsics;
            }
            this.regionSpecs.putAll(other.getSpecifications());
            this.groups.putAll(other.getGroups());
            return this;
        }