com.pulumi.azurenative.connectedvmwarevsphere.outputs.OsProfileResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.connectedvmwarevsphere.outputs;
import com.pulumi.azurenative.connectedvmwarevsphere.outputs.OsProfileResponseLinuxConfiguration;
import com.pulumi.azurenative.connectedvmwarevsphere.outputs.OsProfileResponseWindowsConfiguration;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class OsProfileResponse {
/**
* @return Gets or sets administrator username.
*
*/
private @Nullable String adminUsername;
/**
* @return Gets or sets a value indicating whether the VM is ready for extension operations.
*
*/
private Boolean allowExtensionOperations;
/**
* @return Gets or sets computer name.
*
*/
private @Nullable String computerName;
/**
* @return Gets or sets the guestId.
*
*/
private @Nullable String guestId;
/**
* @return Specifies the linux configuration for update management.
*
*/
private @Nullable OsProfileResponseLinuxConfiguration linuxConfiguration;
/**
* @return Gets or sets os name.
*
*/
private String osName;
/**
* @return Gets or sets the type of the os.
*
*/
private @Nullable String osType;
/**
* @return Gets or sets the current running status of VMware Tools running in the guest operating system.
*
*/
private String toolsRunningStatus;
/**
* @return Gets or sets the current version of VMware Tools.
*
*/
private String toolsVersion;
/**
* @return Gets or sets the current version status of VMware Tools installed in the guest operating system.
*
*/
private String toolsVersionStatus;
/**
* @return Specifies the windows configuration for update management.
*
*/
private @Nullable OsProfileResponseWindowsConfiguration windowsConfiguration;
private OsProfileResponse() {}
/**
* @return Gets or sets administrator username.
*
*/
public Optional adminUsername() {
return Optional.ofNullable(this.adminUsername);
}
/**
* @return Gets or sets a value indicating whether the VM is ready for extension operations.
*
*/
public Boolean allowExtensionOperations() {
return this.allowExtensionOperations;
}
/**
* @return Gets or sets computer name.
*
*/
public Optional computerName() {
return Optional.ofNullable(this.computerName);
}
/**
* @return Gets or sets the guestId.
*
*/
public Optional guestId() {
return Optional.ofNullable(this.guestId);
}
/**
* @return Specifies the linux configuration for update management.
*
*/
public Optional linuxConfiguration() {
return Optional.ofNullable(this.linuxConfiguration);
}
/**
* @return Gets or sets os name.
*
*/
public String osName() {
return this.osName;
}
/**
* @return Gets or sets the type of the os.
*
*/
public Optional osType() {
return Optional.ofNullable(this.osType);
}
/**
* @return Gets or sets the current running status of VMware Tools running in the guest operating system.
*
*/
public String toolsRunningStatus() {
return this.toolsRunningStatus;
}
/**
* @return Gets or sets the current version of VMware Tools.
*
*/
public String toolsVersion() {
return this.toolsVersion;
}
/**
* @return Gets or sets the current version status of VMware Tools installed in the guest operating system.
*
*/
public String toolsVersionStatus() {
return this.toolsVersionStatus;
}
/**
* @return Specifies the windows configuration for update management.
*
*/
public Optional windowsConfiguration() {
return Optional.ofNullable(this.windowsConfiguration);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(OsProfileResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String adminUsername;
private Boolean allowExtensionOperations;
private @Nullable String computerName;
private @Nullable String guestId;
private @Nullable OsProfileResponseLinuxConfiguration linuxConfiguration;
private String osName;
private @Nullable String osType;
private String toolsRunningStatus;
private String toolsVersion;
private String toolsVersionStatus;
private @Nullable OsProfileResponseWindowsConfiguration windowsConfiguration;
public Builder() {}
public Builder(OsProfileResponse defaults) {
Objects.requireNonNull(defaults);
this.adminUsername = defaults.adminUsername;
this.allowExtensionOperations = defaults.allowExtensionOperations;
this.computerName = defaults.computerName;
this.guestId = defaults.guestId;
this.linuxConfiguration = defaults.linuxConfiguration;
this.osName = defaults.osName;
this.osType = defaults.osType;
this.toolsRunningStatus = defaults.toolsRunningStatus;
this.toolsVersion = defaults.toolsVersion;
this.toolsVersionStatus = defaults.toolsVersionStatus;
this.windowsConfiguration = defaults.windowsConfiguration;
}
@CustomType.Setter
public Builder adminUsername(@Nullable String adminUsername) {
this.adminUsername = adminUsername;
return this;
}
@CustomType.Setter
public Builder allowExtensionOperations(Boolean allowExtensionOperations) {
if (allowExtensionOperations == null) {
throw new MissingRequiredPropertyException("OsProfileResponse", "allowExtensionOperations");
}
this.allowExtensionOperations = allowExtensionOperations;
return this;
}
@CustomType.Setter
public Builder computerName(@Nullable String computerName) {
this.computerName = computerName;
return this;
}
@CustomType.Setter
public Builder guestId(@Nullable String guestId) {
this.guestId = guestId;
return this;
}
@CustomType.Setter
public Builder linuxConfiguration(@Nullable OsProfileResponseLinuxConfiguration linuxConfiguration) {
this.linuxConfiguration = linuxConfiguration;
return this;
}
@CustomType.Setter
public Builder osName(String osName) {
if (osName == null) {
throw new MissingRequiredPropertyException("OsProfileResponse", "osName");
}
this.osName = osName;
return this;
}
@CustomType.Setter
public Builder osType(@Nullable String osType) {
this.osType = osType;
return this;
}
@CustomType.Setter
public Builder toolsRunningStatus(String toolsRunningStatus) {
if (toolsRunningStatus == null) {
throw new MissingRequiredPropertyException("OsProfileResponse", "toolsRunningStatus");
}
this.toolsRunningStatus = toolsRunningStatus;
return this;
}
@CustomType.Setter
public Builder toolsVersion(String toolsVersion) {
if (toolsVersion == null) {
throw new MissingRequiredPropertyException("OsProfileResponse", "toolsVersion");
}
this.toolsVersion = toolsVersion;
return this;
}
@CustomType.Setter
public Builder toolsVersionStatus(String toolsVersionStatus) {
if (toolsVersionStatus == null) {
throw new MissingRequiredPropertyException("OsProfileResponse", "toolsVersionStatus");
}
this.toolsVersionStatus = toolsVersionStatus;
return this;
}
@CustomType.Setter
public Builder windowsConfiguration(@Nullable OsProfileResponseWindowsConfiguration windowsConfiguration) {
this.windowsConfiguration = windowsConfiguration;
return this;
}
public OsProfileResponse build() {
final var _resultValue = new OsProfileResponse();
_resultValue.adminUsername = adminUsername;
_resultValue.allowExtensionOperations = allowExtensionOperations;
_resultValue.computerName = computerName;
_resultValue.guestId = guestId;
_resultValue.linuxConfiguration = linuxConfiguration;
_resultValue.osName = osName;
_resultValue.osType = osType;
_resultValue.toolsRunningStatus = toolsRunningStatus;
_resultValue.toolsVersion = toolsVersion;
_resultValue.toolsVersionStatus = toolsVersionStatus;
_resultValue.windowsConfiguration = windowsConfiguration;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy