
com.pulumi.azurenative.azurestackhci.outputs.VirtualMachinePropertiesResponseWindowsConfiguration 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.VirtualMachinePropertiesResponseSshSsh;
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 VirtualMachinePropertiesResponseWindowsConfiguration {
/**
* @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 creation process.
*
*/
private @Nullable Boolean provisionVMAgent;
/**
* @return SSH Configuration
*
*/
private @Nullable VirtualMachinePropertiesResponseSshSsh ssh;
/**
* @return TimeZone for the virtual machine
*
*/
private @Nullable String timeZone;
private VirtualMachinePropertiesResponseWindowsConfiguration() {}
/**
* @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 creation process.
*
*/
public Optional provisionVMAgent() {
return Optional.ofNullable(this.provisionVMAgent);
}
/**
* @return SSH Configuration
*
*/
public Optional ssh() {
return Optional.ofNullable(this.ssh);
}
/**
* @return TimeZone for the virtual machine
*
*/
public Optional timeZone() {
return Optional.ofNullable(this.timeZone);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VirtualMachinePropertiesResponseWindowsConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean enableAutomaticUpdates;
private @Nullable Boolean provisionVMAgent;
private @Nullable VirtualMachinePropertiesResponseSshSsh ssh;
private @Nullable String timeZone;
public Builder() {}
public Builder(VirtualMachinePropertiesResponseWindowsConfiguration defaults) {
Objects.requireNonNull(defaults);
this.enableAutomaticUpdates = defaults.enableAutomaticUpdates;
this.provisionVMAgent = defaults.provisionVMAgent;
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 ssh(@Nullable VirtualMachinePropertiesResponseSshSsh ssh) {
this.ssh = ssh;
return this;
}
@CustomType.Setter
public Builder timeZone(@Nullable String timeZone) {
this.timeZone = timeZone;
return this;
}
public VirtualMachinePropertiesResponseWindowsConfiguration build() {
final var _resultValue = new VirtualMachinePropertiesResponseWindowsConfiguration();
_resultValue.enableAutomaticUpdates = enableAutomaticUpdates;
_resultValue.provisionVMAgent = provisionVMAgent;
_resultValue.ssh = ssh;
_resultValue.timeZone = timeZone;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy