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

com.pulumi.azurenative.hybridcompute.inputs.OSProfileArgs 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.hybridcompute.inputs;

import com.pulumi.azurenative.hybridcompute.inputs.OSProfileLinuxConfigurationArgs;
import com.pulumi.azurenative.hybridcompute.inputs.OSProfileWindowsConfigurationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Specifies the operating system settings for the hybrid machine.
 * 
 */
public final class OSProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final OSProfileArgs Empty = new OSProfileArgs();

    /**
     * Specifies the linux configuration for update management.
     * 
     */
    @Import(name="linuxConfiguration")
    private @Nullable Output linuxConfiguration;

    /**
     * @return Specifies the linux configuration for update management.
     * 
     */
    public Optional> linuxConfiguration() {
        return Optional.ofNullable(this.linuxConfiguration);
    }

    /**
     * Specifies the windows configuration for update management.
     * 
     */
    @Import(name="windowsConfiguration")
    private @Nullable Output windowsConfiguration;

    /**
     * @return Specifies the windows configuration for update management.
     * 
     */
    public Optional> windowsConfiguration() {
        return Optional.ofNullable(this.windowsConfiguration);
    }

    private OSProfileArgs() {}

    private OSProfileArgs(OSProfileArgs $) {
        this.linuxConfiguration = $.linuxConfiguration;
        this.windowsConfiguration = $.windowsConfiguration;
    }

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

    public static final class Builder {
        private OSProfileArgs $;

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

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

        /**
         * @param linuxConfiguration Specifies the linux configuration for update management.
         * 
         * @return builder
         * 
         */
        public Builder linuxConfiguration(@Nullable Output linuxConfiguration) {
            $.linuxConfiguration = linuxConfiguration;
            return this;
        }

        /**
         * @param linuxConfiguration Specifies the linux configuration for update management.
         * 
         * @return builder
         * 
         */
        public Builder linuxConfiguration(OSProfileLinuxConfigurationArgs linuxConfiguration) {
            return linuxConfiguration(Output.of(linuxConfiguration));
        }

        /**
         * @param windowsConfiguration Specifies the windows configuration for update management.
         * 
         * @return builder
         * 
         */
        public Builder windowsConfiguration(@Nullable Output windowsConfiguration) {
            $.windowsConfiguration = windowsConfiguration;
            return this;
        }

        /**
         * @param windowsConfiguration Specifies the windows configuration for update management.
         * 
         * @return builder
         * 
         */
        public Builder windowsConfiguration(OSProfileWindowsConfigurationArgs windowsConfiguration) {
            return windowsConfiguration(Output.of(windowsConfiguration));
        }

        public OSProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy