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

com.pulumi.azure.maintenance.outputs.GetConfigurationInstallPatchLinux 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.azure.maintenance.outputs;

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

@CustomType
public final class GetConfigurationInstallPatchLinux {
    /**
     * @return List of Classification category of patches to be patched.
     * 
     */
    private List classificationsToIncludes;
    /**
     * @return List of package names to be excluded from patching.
     * 
     */
    private List packageNamesMaskToExcludes;
    /**
     * @return List of package names to be included for patching.
     * 
     */
    private List packageNamesMaskToIncludes;

    private GetConfigurationInstallPatchLinux() {}
    /**
     * @return List of Classification category of patches to be patched.
     * 
     */
    public List classificationsToIncludes() {
        return this.classificationsToIncludes;
    }
    /**
     * @return List of package names to be excluded from patching.
     * 
     */
    public List packageNamesMaskToExcludes() {
        return this.packageNamesMaskToExcludes;
    }
    /**
     * @return List of package names to be included for patching.
     * 
     */
    public List packageNamesMaskToIncludes() {
        return this.packageNamesMaskToIncludes;
    }

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

    public static Builder builder(GetConfigurationInstallPatchLinux defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List classificationsToIncludes;
        private List packageNamesMaskToExcludes;
        private List packageNamesMaskToIncludes;
        public Builder() {}
        public Builder(GetConfigurationInstallPatchLinux defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.classificationsToIncludes = defaults.classificationsToIncludes;
    	      this.packageNamesMaskToExcludes = defaults.packageNamesMaskToExcludes;
    	      this.packageNamesMaskToIncludes = defaults.packageNamesMaskToIncludes;
        }

        @CustomType.Setter
        public Builder classificationsToIncludes(List classificationsToIncludes) {
            if (classificationsToIncludes == null) {
              throw new MissingRequiredPropertyException("GetConfigurationInstallPatchLinux", "classificationsToIncludes");
            }
            this.classificationsToIncludes = classificationsToIncludes;
            return this;
        }
        public Builder classificationsToIncludes(String... classificationsToIncludes) {
            return classificationsToIncludes(List.of(classificationsToIncludes));
        }
        @CustomType.Setter
        public Builder packageNamesMaskToExcludes(List packageNamesMaskToExcludes) {
            if (packageNamesMaskToExcludes == null) {
              throw new MissingRequiredPropertyException("GetConfigurationInstallPatchLinux", "packageNamesMaskToExcludes");
            }
            this.packageNamesMaskToExcludes = packageNamesMaskToExcludes;
            return this;
        }
        public Builder packageNamesMaskToExcludes(String... packageNamesMaskToExcludes) {
            return packageNamesMaskToExcludes(List.of(packageNamesMaskToExcludes));
        }
        @CustomType.Setter
        public Builder packageNamesMaskToIncludes(List packageNamesMaskToIncludes) {
            if (packageNamesMaskToIncludes == null) {
              throw new MissingRequiredPropertyException("GetConfigurationInstallPatchLinux", "packageNamesMaskToIncludes");
            }
            this.packageNamesMaskToIncludes = packageNamesMaskToIncludes;
            return this;
        }
        public Builder packageNamesMaskToIncludes(String... packageNamesMaskToIncludes) {
            return packageNamesMaskToIncludes(List.of(packageNamesMaskToIncludes));
        }
        public GetConfigurationInstallPatchLinux build() {
            final var _resultValue = new GetConfigurationInstallPatchLinux();
            _resultValue.classificationsToIncludes = classificationsToIncludes;
            _resultValue.packageNamesMaskToExcludes = packageNamesMaskToExcludes;
            _resultValue.packageNamesMaskToIncludes = packageNamesMaskToIncludes;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy