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

com.pulumi.azurenative.hybridcompute.inputs.OSProfileWindowsConfigurationArgs Maven / Gradle / Ivy

The 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.hybridcompute.inputs;

import com.pulumi.azurenative.hybridcompute.enums.AssessmentModeTypes;
import com.pulumi.azurenative.hybridcompute.enums.PatchModeTypes;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Specifies the windows configuration for update management.
 * 
 */
public final class OSProfileWindowsConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final OSProfileWindowsConfigurationArgs Empty = new OSProfileWindowsConfigurationArgs();

    /**
     * Specifies the assessment mode.
     * 
     */
    @Import(name="assessmentMode")
    private @Nullable Output> assessmentMode;

    /**
     * @return Specifies the assessment mode.
     * 
     */
    public Optional>> assessmentMode() {
        return Optional.ofNullable(this.assessmentMode);
    }

    /**
     * Specifies the patch mode.
     * 
     */
    @Import(name="patchMode")
    private @Nullable Output> patchMode;

    /**
     * @return Specifies the patch mode.
     * 
     */
    public Optional>> patchMode() {
        return Optional.ofNullable(this.patchMode);
    }

    private OSProfileWindowsConfigurationArgs() {}

    private OSProfileWindowsConfigurationArgs(OSProfileWindowsConfigurationArgs $) {
        this.assessmentMode = $.assessmentMode;
        this.patchMode = $.patchMode;
    }

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

    public static final class Builder {
        private OSProfileWindowsConfigurationArgs $;

        public Builder() {
            $ = new OSProfileWindowsConfigurationArgs();
        }

        public Builder(OSProfileWindowsConfigurationArgs defaults) {
            $ = new OSProfileWindowsConfigurationArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param assessmentMode Specifies the assessment mode.
         * 
         * @return builder
         * 
         */
        public Builder assessmentMode(@Nullable Output> assessmentMode) {
            $.assessmentMode = assessmentMode;
            return this;
        }

        /**
         * @param assessmentMode Specifies the assessment mode.
         * 
         * @return builder
         * 
         */
        public Builder assessmentMode(Either assessmentMode) {
            return assessmentMode(Output.of(assessmentMode));
        }

        /**
         * @param assessmentMode Specifies the assessment mode.
         * 
         * @return builder
         * 
         */
        public Builder assessmentMode(String assessmentMode) {
            return assessmentMode(Either.ofLeft(assessmentMode));
        }

        /**
         * @param assessmentMode Specifies the assessment mode.
         * 
         * @return builder
         * 
         */
        public Builder assessmentMode(AssessmentModeTypes assessmentMode) {
            return assessmentMode(Either.ofRight(assessmentMode));
        }

        /**
         * @param patchMode Specifies the patch mode.
         * 
         * @return builder
         * 
         */
        public Builder patchMode(@Nullable Output> patchMode) {
            $.patchMode = patchMode;
            return this;
        }

        /**
         * @param patchMode Specifies the patch mode.
         * 
         * @return builder
         * 
         */
        public Builder patchMode(Either patchMode) {
            return patchMode(Output.of(patchMode));
        }

        /**
         * @param patchMode Specifies the patch mode.
         * 
         * @return builder
         * 
         */
        public Builder patchMode(String patchMode) {
            return patchMode(Either.ofLeft(patchMode));
        }

        /**
         * @param patchMode Specifies the patch mode.
         * 
         * @return builder
         * 
         */
        public Builder patchMode(PatchModeTypes patchMode) {
            return patchMode(Either.ofRight(patchMode));
        }

        public OSProfileWindowsConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy