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

com.pulumi.azure.automation.outputs.SoftwareUpdateConfigurationWindows 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.automation.outputs;

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

@CustomType
public final class SoftwareUpdateConfigurationWindows {
    /**
     * @return Specifies the list of update classification. Possible values are `Unclassified`, `Critical`, `Security`, `UpdateRollup`, `FeaturePack`, `ServicePack`, `Definition`, `Tools` and `Updates`.
     * 
     * > **NOTE:** The `classifications_included` property will become `Required` in version 4.0 of the Provider.
     * 
     */
    private List classificationsIncludeds;
    /**
     * @return Specifies a list of knowledge base numbers excluded.
     * 
     */
    private @Nullable List excludedKnowledgeBaseNumbers;
    /**
     * @return Specifies a list of knowledge base numbers included.
     * 
     */
    private @Nullable List includedKnowledgeBaseNumbers;
    /**
     * @return Specifies the reboot settings after software update, possible values are `IfRequired`, `Never`, `RebootOnly` and `Always`. Defaults to `IfRequired`.
     * 
     */
    private @Nullable String reboot;

    private SoftwareUpdateConfigurationWindows() {}
    /**
     * @return Specifies the list of update classification. Possible values are `Unclassified`, `Critical`, `Security`, `UpdateRollup`, `FeaturePack`, `ServicePack`, `Definition`, `Tools` and `Updates`.
     * 
     * > **NOTE:** The `classifications_included` property will become `Required` in version 4.0 of the Provider.
     * 
     */
    public List classificationsIncludeds() {
        return this.classificationsIncludeds;
    }
    /**
     * @return Specifies a list of knowledge base numbers excluded.
     * 
     */
    public List excludedKnowledgeBaseNumbers() {
        return this.excludedKnowledgeBaseNumbers == null ? List.of() : this.excludedKnowledgeBaseNumbers;
    }
    /**
     * @return Specifies a list of knowledge base numbers included.
     * 
     */
    public List includedKnowledgeBaseNumbers() {
        return this.includedKnowledgeBaseNumbers == null ? List.of() : this.includedKnowledgeBaseNumbers;
    }
    /**
     * @return Specifies the reboot settings after software update, possible values are `IfRequired`, `Never`, `RebootOnly` and `Always`. Defaults to `IfRequired`.
     * 
     */
    public Optional reboot() {
        return Optional.ofNullable(this.reboot);
    }

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

    public static Builder builder(SoftwareUpdateConfigurationWindows defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List classificationsIncludeds;
        private @Nullable List excludedKnowledgeBaseNumbers;
        private @Nullable List includedKnowledgeBaseNumbers;
        private @Nullable String reboot;
        public Builder() {}
        public Builder(SoftwareUpdateConfigurationWindows defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.classificationsIncludeds = defaults.classificationsIncludeds;
    	      this.excludedKnowledgeBaseNumbers = defaults.excludedKnowledgeBaseNumbers;
    	      this.includedKnowledgeBaseNumbers = defaults.includedKnowledgeBaseNumbers;
    	      this.reboot = defaults.reboot;
        }

        @CustomType.Setter
        public Builder classificationsIncludeds(List classificationsIncludeds) {
            if (classificationsIncludeds == null) {
              throw new MissingRequiredPropertyException("SoftwareUpdateConfigurationWindows", "classificationsIncludeds");
            }
            this.classificationsIncludeds = classificationsIncludeds;
            return this;
        }
        public Builder classificationsIncludeds(String... classificationsIncludeds) {
            return classificationsIncludeds(List.of(classificationsIncludeds));
        }
        @CustomType.Setter
        public Builder excludedKnowledgeBaseNumbers(@Nullable List excludedKnowledgeBaseNumbers) {

            this.excludedKnowledgeBaseNumbers = excludedKnowledgeBaseNumbers;
            return this;
        }
        public Builder excludedKnowledgeBaseNumbers(String... excludedKnowledgeBaseNumbers) {
            return excludedKnowledgeBaseNumbers(List.of(excludedKnowledgeBaseNumbers));
        }
        @CustomType.Setter
        public Builder includedKnowledgeBaseNumbers(@Nullable List includedKnowledgeBaseNumbers) {

            this.includedKnowledgeBaseNumbers = includedKnowledgeBaseNumbers;
            return this;
        }
        public Builder includedKnowledgeBaseNumbers(String... includedKnowledgeBaseNumbers) {
            return includedKnowledgeBaseNumbers(List.of(includedKnowledgeBaseNumbers));
        }
        @CustomType.Setter
        public Builder reboot(@Nullable String reboot) {

            this.reboot = reboot;
            return this;
        }
        public SoftwareUpdateConfigurationWindows build() {
            final var _resultValue = new SoftwareUpdateConfigurationWindows();
            _resultValue.classificationsIncludeds = classificationsIncludeds;
            _resultValue.excludedKnowledgeBaseNumbers = excludedKnowledgeBaseNumbers;
            _resultValue.includedKnowledgeBaseNumbers = includedKnowledgeBaseNumbers;
            _resultValue.reboot = reboot;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy