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

com.pulumi.azurenative.automation.outputs.WindowsPropertiesResponse Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.automation.outputs;

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

@CustomType
public final class WindowsPropertiesResponse {
    /**
     * @return KB numbers excluded from the software update configuration.
     * 
     */
    private @Nullable List excludedKbNumbers;
    /**
     * @return KB numbers included from the software update configuration.
     * 
     */
    private @Nullable List includedKbNumbers;
    /**
     * @return Update classification included in the software update configuration. A comma separated string with required values
     * 
     */
    private @Nullable String includedUpdateClassifications;
    /**
     * @return Reboot setting for the software update configuration.
     * 
     */
    private @Nullable String rebootSetting;

    private WindowsPropertiesResponse() {}
    /**
     * @return KB numbers excluded from the software update configuration.
     * 
     */
    public List excludedKbNumbers() {
        return this.excludedKbNumbers == null ? List.of() : this.excludedKbNumbers;
    }
    /**
     * @return KB numbers included from the software update configuration.
     * 
     */
    public List includedKbNumbers() {
        return this.includedKbNumbers == null ? List.of() : this.includedKbNumbers;
    }
    /**
     * @return Update classification included in the software update configuration. A comma separated string with required values
     * 
     */
    public Optional includedUpdateClassifications() {
        return Optional.ofNullable(this.includedUpdateClassifications);
    }
    /**
     * @return Reboot setting for the software update configuration.
     * 
     */
    public Optional rebootSetting() {
        return Optional.ofNullable(this.rebootSetting);
    }

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

    public static Builder builder(WindowsPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List excludedKbNumbers;
        private @Nullable List includedKbNumbers;
        private @Nullable String includedUpdateClassifications;
        private @Nullable String rebootSetting;
        public Builder() {}
        public Builder(WindowsPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.excludedKbNumbers = defaults.excludedKbNumbers;
    	      this.includedKbNumbers = defaults.includedKbNumbers;
    	      this.includedUpdateClassifications = defaults.includedUpdateClassifications;
    	      this.rebootSetting = defaults.rebootSetting;
        }

        @CustomType.Setter
        public Builder excludedKbNumbers(@Nullable List excludedKbNumbers) {

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

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

            this.includedUpdateClassifications = includedUpdateClassifications;
            return this;
        }
        @CustomType.Setter
        public Builder rebootSetting(@Nullable String rebootSetting) {

            this.rebootSetting = rebootSetting;
            return this;
        }
        public WindowsPropertiesResponse build() {
            final var _resultValue = new WindowsPropertiesResponse();
            _resultValue.excludedKbNumbers = excludedKbNumbers;
            _resultValue.includedKbNumbers = includedKbNumbers;
            _resultValue.includedUpdateClassifications = includedUpdateClassifications;
            _resultValue.rebootSetting = rebootSetting;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy