
com.pulumi.azurenative.labservices.outputs.EnvironmentDetailsResponse 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.labservices.outputs;
import com.pulumi.azurenative.labservices.outputs.LatestOperationResultResponse;
import com.pulumi.azurenative.labservices.outputs.VirtualMachineDetailsResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class EnvironmentDetailsResponse {
/**
* @return Description of the Environment
*
*/
private String description;
/**
* @return Publishing state of the environment setting Possible values are Creating, Created, Failed
*
*/
private String environmentState;
/**
* @return Resource Id of the environment
*
*/
private String id;
/**
* @return The details of the latest operation. ex: status, error
*
*/
private LatestOperationResultResponse latestOperationResult;
/**
* @return Name of the Environment
*
*/
private String name;
/**
* @return When the password was last reset on the environment.
*
*/
private String passwordLastReset;
/**
* @return The provisioning state of the environment. This also includes LabIsFull and NotYetProvisioned status.
*
*/
private String provisioningState;
/**
* @return How long the environment has been used by a lab user
*
*/
private String totalUsage;
/**
* @return Details of backing DTL virtual machine with compute and network details.
*
*/
private VirtualMachineDetailsResponse virtualMachineDetails;
private EnvironmentDetailsResponse() {}
/**
* @return Description of the Environment
*
*/
public String description() {
return this.description;
}
/**
* @return Publishing state of the environment setting Possible values are Creating, Created, Failed
*
*/
public String environmentState() {
return this.environmentState;
}
/**
* @return Resource Id of the environment
*
*/
public String id() {
return this.id;
}
/**
* @return The details of the latest operation. ex: status, error
*
*/
public LatestOperationResultResponse latestOperationResult() {
return this.latestOperationResult;
}
/**
* @return Name of the Environment
*
*/
public String name() {
return this.name;
}
/**
* @return When the password was last reset on the environment.
*
*/
public String passwordLastReset() {
return this.passwordLastReset;
}
/**
* @return The provisioning state of the environment. This also includes LabIsFull and NotYetProvisioned status.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return How long the environment has been used by a lab user
*
*/
public String totalUsage() {
return this.totalUsage;
}
/**
* @return Details of backing DTL virtual machine with compute and network details.
*
*/
public VirtualMachineDetailsResponse virtualMachineDetails() {
return this.virtualMachineDetails;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EnvironmentDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String description;
private String environmentState;
private String id;
private LatestOperationResultResponse latestOperationResult;
private String name;
private String passwordLastReset;
private String provisioningState;
private String totalUsage;
private VirtualMachineDetailsResponse virtualMachineDetails;
public Builder() {}
public Builder(EnvironmentDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.description = defaults.description;
this.environmentState = defaults.environmentState;
this.id = defaults.id;
this.latestOperationResult = defaults.latestOperationResult;
this.name = defaults.name;
this.passwordLastReset = defaults.passwordLastReset;
this.provisioningState = defaults.provisioningState;
this.totalUsage = defaults.totalUsage;
this.virtualMachineDetails = defaults.virtualMachineDetails;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("EnvironmentDetailsResponse", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder environmentState(String environmentState) {
if (environmentState == null) {
throw new MissingRequiredPropertyException("EnvironmentDetailsResponse", "environmentState");
}
this.environmentState = environmentState;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("EnvironmentDetailsResponse", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder latestOperationResult(LatestOperationResultResponse latestOperationResult) {
if (latestOperationResult == null) {
throw new MissingRequiredPropertyException("EnvironmentDetailsResponse", "latestOperationResult");
}
this.latestOperationResult = latestOperationResult;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("EnvironmentDetailsResponse", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder passwordLastReset(String passwordLastReset) {
if (passwordLastReset == null) {
throw new MissingRequiredPropertyException("EnvironmentDetailsResponse", "passwordLastReset");
}
this.passwordLastReset = passwordLastReset;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("EnvironmentDetailsResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder totalUsage(String totalUsage) {
if (totalUsage == null) {
throw new MissingRequiredPropertyException("EnvironmentDetailsResponse", "totalUsage");
}
this.totalUsage = totalUsage;
return this;
}
@CustomType.Setter
public Builder virtualMachineDetails(VirtualMachineDetailsResponse virtualMachineDetails) {
if (virtualMachineDetails == null) {
throw new MissingRequiredPropertyException("EnvironmentDetailsResponse", "virtualMachineDetails");
}
this.virtualMachineDetails = virtualMachineDetails;
return this;
}
public EnvironmentDetailsResponse build() {
final var _resultValue = new EnvironmentDetailsResponse();
_resultValue.description = description;
_resultValue.environmentState = environmentState;
_resultValue.id = id;
_resultValue.latestOperationResult = latestOperationResult;
_resultValue.name = name;
_resultValue.passwordLastReset = passwordLastReset;
_resultValue.provisioningState = provisioningState;
_resultValue.totalUsage = totalUsage;
_resultValue.virtualMachineDetails = virtualMachineDetails;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy