All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.osconfig.v1beta.outputs.ZypperSettingsResponse Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.googlenative.osconfig.v1beta.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class ZypperSettingsResponse {
    /**
     * @return Install only patches with these categories. Common categories include security, recommended, and feature.
     * 
     */
    private List categories;
    /**
     * @return List of patches to exclude from update.
     * 
     */
    private List excludes;
    /**
     * @return An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:' command. This field must not be used with any other patch configuration fields.
     * 
     */
    private List exclusivePatches;
    /**
     * @return Install only patches with these severities. Common severities include critical, important, moderate, and low.
     * 
     */
    private List severities;
    /**
     * @return Adds the `--with-optional` flag to `zypper patch`.
     * 
     */
    private Boolean withOptional;
    /**
     * @return Adds the `--with-update` flag, to `zypper patch`.
     * 
     */
    private Boolean withUpdate;

    private ZypperSettingsResponse() {}
    /**
     * @return Install only patches with these categories. Common categories include security, recommended, and feature.
     * 
     */
    public List categories() {
        return this.categories;
    }
    /**
     * @return List of patches to exclude from update.
     * 
     */
    public List excludes() {
        return this.excludes;
    }
    /**
     * @return An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:' command. This field must not be used with any other patch configuration fields.
     * 
     */
    public List exclusivePatches() {
        return this.exclusivePatches;
    }
    /**
     * @return Install only patches with these severities. Common severities include critical, important, moderate, and low.
     * 
     */
    public List severities() {
        return this.severities;
    }
    /**
     * @return Adds the `--with-optional` flag to `zypper patch`.
     * 
     */
    public Boolean withOptional() {
        return this.withOptional;
    }
    /**
     * @return Adds the `--with-update` flag, to `zypper patch`.
     * 
     */
    public Boolean withUpdate() {
        return this.withUpdate;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(ZypperSettingsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List categories;
        private List excludes;
        private List exclusivePatches;
        private List severities;
        private Boolean withOptional;
        private Boolean withUpdate;
        public Builder() {}
        public Builder(ZypperSettingsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.categories = defaults.categories;
    	      this.excludes = defaults.excludes;
    	      this.exclusivePatches = defaults.exclusivePatches;
    	      this.severities = defaults.severities;
    	      this.withOptional = defaults.withOptional;
    	      this.withUpdate = defaults.withUpdate;
        }

        @CustomType.Setter
        public Builder categories(List categories) {
            this.categories = Objects.requireNonNull(categories);
            return this;
        }
        public Builder categories(String... categories) {
            return categories(List.of(categories));
        }
        @CustomType.Setter
        public Builder excludes(List excludes) {
            this.excludes = Objects.requireNonNull(excludes);
            return this;
        }
        public Builder excludes(String... excludes) {
            return excludes(List.of(excludes));
        }
        @CustomType.Setter
        public Builder exclusivePatches(List exclusivePatches) {
            this.exclusivePatches = Objects.requireNonNull(exclusivePatches);
            return this;
        }
        public Builder exclusivePatches(String... exclusivePatches) {
            return exclusivePatches(List.of(exclusivePatches));
        }
        @CustomType.Setter
        public Builder severities(List severities) {
            this.severities = Objects.requireNonNull(severities);
            return this;
        }
        public Builder severities(String... severities) {
            return severities(List.of(severities));
        }
        @CustomType.Setter
        public Builder withOptional(Boolean withOptional) {
            this.withOptional = Objects.requireNonNull(withOptional);
            return this;
        }
        @CustomType.Setter
        public Builder withUpdate(Boolean withUpdate) {
            this.withUpdate = Objects.requireNonNull(withUpdate);
            return this;
        }
        public ZypperSettingsResponse build() {
            final var o = new ZypperSettingsResponse();
            o.categories = categories;
            o.excludes = excludes;
            o.exclusivePatches = exclusivePatches;
            o.severities = severities;
            o.withOptional = withOptional;
            o.withUpdate = withUpdate;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy