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

com.pulumi.azurenative.maintenance.outputs.InputWindowsParametersResponse Maven / Gradle / Ivy

There is a newer version: 2.72.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.maintenance.outputs;

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

@CustomType
public final class InputWindowsParametersResponse {
    /**
     * @return Classification category of patches to be patched
     * 
     */
    private @Nullable List classificationsToInclude;
    /**
     * @return Exclude patches which need reboot
     * 
     */
    private @Nullable Boolean excludeKbsRequiringReboot;
    /**
     * @return Windows KBID to be excluded for patching.
     * 
     */
    private @Nullable List kbNumbersToExclude;
    /**
     * @return Windows KBID to be included for patching.
     * 
     */
    private @Nullable List kbNumbersToInclude;

    private InputWindowsParametersResponse() {}
    /**
     * @return Classification category of patches to be patched
     * 
     */
    public List classificationsToInclude() {
        return this.classificationsToInclude == null ? List.of() : this.classificationsToInclude;
    }
    /**
     * @return Exclude patches which need reboot
     * 
     */
    public Optional excludeKbsRequiringReboot() {
        return Optional.ofNullable(this.excludeKbsRequiringReboot);
    }
    /**
     * @return Windows KBID to be excluded for patching.
     * 
     */
    public List kbNumbersToExclude() {
        return this.kbNumbersToExclude == null ? List.of() : this.kbNumbersToExclude;
    }
    /**
     * @return Windows KBID to be included for patching.
     * 
     */
    public List kbNumbersToInclude() {
        return this.kbNumbersToInclude == null ? List.of() : this.kbNumbersToInclude;
    }

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

    public static Builder builder(InputWindowsParametersResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List classificationsToInclude;
        private @Nullable Boolean excludeKbsRequiringReboot;
        private @Nullable List kbNumbersToExclude;
        private @Nullable List kbNumbersToInclude;
        public Builder() {}
        public Builder(InputWindowsParametersResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.classificationsToInclude = defaults.classificationsToInclude;
    	      this.excludeKbsRequiringReboot = defaults.excludeKbsRequiringReboot;
    	      this.kbNumbersToExclude = defaults.kbNumbersToExclude;
    	      this.kbNumbersToInclude = defaults.kbNumbersToInclude;
        }

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

            this.classificationsToInclude = classificationsToInclude;
            return this;
        }
        public Builder classificationsToInclude(String... classificationsToInclude) {
            return classificationsToInclude(List.of(classificationsToInclude));
        }
        @CustomType.Setter
        public Builder excludeKbsRequiringReboot(@Nullable Boolean excludeKbsRequiringReboot) {

            this.excludeKbsRequiringReboot = excludeKbsRequiringReboot;
            return this;
        }
        @CustomType.Setter
        public Builder kbNumbersToExclude(@Nullable List kbNumbersToExclude) {

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

            this.kbNumbersToInclude = kbNumbersToInclude;
            return this;
        }
        public Builder kbNumbersToInclude(String... kbNumbersToInclude) {
            return kbNumbersToInclude(List.of(kbNumbersToInclude));
        }
        public InputWindowsParametersResponse build() {
            final var _resultValue = new InputWindowsParametersResponse();
            _resultValue.classificationsToInclude = classificationsToInclude;
            _resultValue.excludeKbsRequiringReboot = excludeKbsRequiringReboot;
            _resultValue.kbNumbersToExclude = kbNumbersToExclude;
            _resultValue.kbNumbersToInclude = kbNumbersToInclude;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy