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

com.pulumi.azure.maintenance.outputs.GetConfigurationInstallPatchWindow Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
Show newest version
// *** 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 GetConfigurationInstallPatchWindow {
    /**
     * @return List of Classification category of patches to be patched.
     * 
     */
    private List classificationsToIncludes;
    /**
     * @return List of KB numbers to be excluded from patching.
     * 
     */
    private List kbNumbersToExcludes;
    /**
     * @return List of KB numbers to be included for patching.
     * 
     */
    private List kbNumbersToIncludes;

    private GetConfigurationInstallPatchWindow() {}
    /**
     * @return List of Classification category of patches to be patched.
     * 
     */
    public List classificationsToIncludes() {
        return this.classificationsToIncludes;
    }
    /**
     * @return List of KB numbers to be excluded from patching.
     * 
     */
    public List kbNumbersToExcludes() {
        return this.kbNumbersToExcludes;
    }
    /**
     * @return List of KB numbers to be included for patching.
     * 
     */
    public List kbNumbersToIncludes() {
        return this.kbNumbersToIncludes;
    }

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy