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

com.pulumi.azurenative.azurestackhci.outputs.VirtualMachineInstancePropertiesResponseWindowsConfiguration Maven / Gradle / Ivy

// *** 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.azurestackhci.outputs;

import com.pulumi.azurenative.azurestackhci.outputs.SshConfigurationResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class VirtualMachineInstancePropertiesResponseWindowsConfiguration {
    /**
     * @return Whether to EnableAutomaticUpdates on the machine
     * 
     */
    private @Nullable Boolean enableAutomaticUpdates;
    /**
     * @return Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
     * 
     */
    private @Nullable Boolean provisionVMAgent;
    /**
     * @return Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
     * 
     */
    private @Nullable Boolean provisionVMConfigAgent;
    /**
     * @return Specifies the ssh key configuration for Windows OS.
     * 
     */
    private @Nullable SshConfigurationResponse ssh;
    /**
     * @return TimeZone for the virtual machine instance
     * 
     */
    private @Nullable String timeZone;

    private VirtualMachineInstancePropertiesResponseWindowsConfiguration() {}
    /**
     * @return Whether to EnableAutomaticUpdates on the machine
     * 
     */
    public Optional enableAutomaticUpdates() {
        return Optional.ofNullable(this.enableAutomaticUpdates);
    }
    /**
     * @return Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
     * 
     */
    public Optional provisionVMAgent() {
        return Optional.ofNullable(this.provisionVMAgent);
    }
    /**
     * @return Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
     * 
     */
    public Optional provisionVMConfigAgent() {
        return Optional.ofNullable(this.provisionVMConfigAgent);
    }
    /**
     * @return Specifies the ssh key configuration for Windows OS.
     * 
     */
    public Optional ssh() {
        return Optional.ofNullable(this.ssh);
    }
    /**
     * @return TimeZone for the virtual machine instance
     * 
     */
    public Optional timeZone() {
        return Optional.ofNullable(this.timeZone);
    }

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

    public static Builder builder(VirtualMachineInstancePropertiesResponseWindowsConfiguration defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Boolean enableAutomaticUpdates;
        private @Nullable Boolean provisionVMAgent;
        private @Nullable Boolean provisionVMConfigAgent;
        private @Nullable SshConfigurationResponse ssh;
        private @Nullable String timeZone;
        public Builder() {}
        public Builder(VirtualMachineInstancePropertiesResponseWindowsConfiguration defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.enableAutomaticUpdates = defaults.enableAutomaticUpdates;
    	      this.provisionVMAgent = defaults.provisionVMAgent;
    	      this.provisionVMConfigAgent = defaults.provisionVMConfigAgent;
    	      this.ssh = defaults.ssh;
    	      this.timeZone = defaults.timeZone;
        }

        @CustomType.Setter
        public Builder enableAutomaticUpdates(@Nullable Boolean enableAutomaticUpdates) {

            this.enableAutomaticUpdates = enableAutomaticUpdates;
            return this;
        }
        @CustomType.Setter
        public Builder provisionVMAgent(@Nullable Boolean provisionVMAgent) {

            this.provisionVMAgent = provisionVMAgent;
            return this;
        }
        @CustomType.Setter
        public Builder provisionVMConfigAgent(@Nullable Boolean provisionVMConfigAgent) {

            this.provisionVMConfigAgent = provisionVMConfigAgent;
            return this;
        }
        @CustomType.Setter
        public Builder ssh(@Nullable SshConfigurationResponse ssh) {

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

            this.timeZone = timeZone;
            return this;
        }
        public VirtualMachineInstancePropertiesResponseWindowsConfiguration build() {
            final var _resultValue = new VirtualMachineInstancePropertiesResponseWindowsConfiguration();
            _resultValue.enableAutomaticUpdates = enableAutomaticUpdates;
            _resultValue.provisionVMAgent = provisionVMAgent;
            _resultValue.provisionVMConfigAgent = provisionVMConfigAgent;
            _resultValue.ssh = ssh;
            _resultValue.timeZone = timeZone;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy