com.pulumi.azurenative.connectedvmwarevsphere.outputs.OsProfileForVMInstanceResponse 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.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class OsProfileForVMInstanceResponse {
/**
* @return Gets or sets administrator username.
*
*/
private @Nullable String adminUsername;
/**
* @return Gets or sets computer name.
*
*/
private @Nullable String computerName;
/**
* @return Gets or sets the guestId.
*
*/
private @Nullable String guestId;
/**
* @return Gets or sets os sku.
*
*/
private String osSku;
/**
* @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;
private OsProfileForVMInstanceResponse() {}
/**
* @return Gets or sets administrator username.
*
*/
public Optional adminUsername() {
return Optional.ofNullable(this.adminUsername);
}
/**
* @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 Gets or sets os sku.
*
*/
public String osSku() {
return this.osSku;
}
/**
* @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;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(OsProfileForVMInstanceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String adminUsername;
private @Nullable String computerName;
private @Nullable String guestId;
private String osSku;
private @Nullable String osType;
private String toolsRunningStatus;
private String toolsVersion;
private String toolsVersionStatus;
public Builder() {}
public Builder(OsProfileForVMInstanceResponse defaults) {
Objects.requireNonNull(defaults);
this.adminUsername = defaults.adminUsername;
this.computerName = defaults.computerName;
this.guestId = defaults.guestId;
this.osSku = defaults.osSku;
this.osType = defaults.osType;
this.toolsRunningStatus = defaults.toolsRunningStatus;
this.toolsVersion = defaults.toolsVersion;
this.toolsVersionStatus = defaults.toolsVersionStatus;
}
@CustomType.Setter
public Builder adminUsername(@Nullable String adminUsername) {
this.adminUsername = adminUsername;
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 osSku(String osSku) {
if (osSku == null) {
throw new MissingRequiredPropertyException("OsProfileForVMInstanceResponse", "osSku");
}
this.osSku = osSku;
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("OsProfileForVMInstanceResponse", "toolsRunningStatus");
}
this.toolsRunningStatus = toolsRunningStatus;
return this;
}
@CustomType.Setter
public Builder toolsVersion(String toolsVersion) {
if (toolsVersion == null) {
throw new MissingRequiredPropertyException("OsProfileForVMInstanceResponse", "toolsVersion");
}
this.toolsVersion = toolsVersion;
return this;
}
@CustomType.Setter
public Builder toolsVersionStatus(String toolsVersionStatus) {
if (toolsVersionStatus == null) {
throw new MissingRequiredPropertyException("OsProfileForVMInstanceResponse", "toolsVersionStatus");
}
this.toolsVersionStatus = toolsVersionStatus;
return this;
}
public OsProfileForVMInstanceResponse build() {
final var _resultValue = new OsProfileForVMInstanceResponse();
_resultValue.adminUsername = adminUsername;
_resultValue.computerName = computerName;
_resultValue.guestId = guestId;
_resultValue.osSku = osSku;
_resultValue.osType = osType;
_resultValue.toolsRunningStatus = toolsRunningStatus;
_resultValue.toolsVersion = toolsVersion;
_resultValue.toolsVersionStatus = toolsVersionStatus;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy