com.pulumi.azurenative.education.outputs.GetLabResult 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.education.outputs;
import com.pulumi.azurenative.education.outputs.AmountResponse;
import com.pulumi.azurenative.education.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetLabResult {
/**
* @return Default monetary cap for each student in this lab
*
*/
private AmountResponse budgetPerStudent;
/**
* @return The type of currency being used for the value.
*
*/
private @Nullable String currency;
/**
* @return Detail description of this lab
*
*/
private String description;
/**
* @return Lab Display Name
*
*/
private String displayName;
/**
* @return Lab creation date
*
*/
private String effectiveDate;
/**
* @return Default expiration date for each student in this lab
*
*/
private String expirationDate;
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
private String id;
/**
* @return invitation code for redeemable lab
*
*/
private String invitationCode;
/**
* @return the total number of students that can be accepted to the lab.
*
*/
private Double maxStudentCount;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return The status of this lab
*
*/
private String status;
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
private SystemDataResponse systemData;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
/**
* @return Amount value.
*
*/
private @Nullable Double value;
private GetLabResult() {}
/**
* @return Default monetary cap for each student in this lab
*
*/
public AmountResponse budgetPerStudent() {
return this.budgetPerStudent;
}
/**
* @return The type of currency being used for the value.
*
*/
public Optional currency() {
return Optional.ofNullable(this.currency);
}
/**
* @return Detail description of this lab
*
*/
public String description() {
return this.description;
}
/**
* @return Lab Display Name
*
*/
public String displayName() {
return this.displayName;
}
/**
* @return Lab creation date
*
*/
public String effectiveDate() {
return this.effectiveDate;
}
/**
* @return Default expiration date for each student in this lab
*
*/
public String expirationDate() {
return this.expirationDate;
}
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
public String id() {
return this.id;
}
/**
* @return invitation code for redeemable lab
*
*/
public String invitationCode() {
return this.invitationCode;
}
/**
* @return the total number of students that can be accepted to the lab.
*
*/
public Double maxStudentCount() {
return this.maxStudentCount;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return The status of this lab
*
*/
public String status() {
return this.status;
}
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
/**
* @return Amount value.
*
*/
public Optional value() {
return Optional.ofNullable(this.value);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetLabResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private AmountResponse budgetPerStudent;
private @Nullable String currency;
private String description;
private String displayName;
private String effectiveDate;
private String expirationDate;
private String id;
private String invitationCode;
private Double maxStudentCount;
private String name;
private String status;
private SystemDataResponse systemData;
private String type;
private @Nullable Double value;
public Builder() {}
public Builder(GetLabResult defaults) {
Objects.requireNonNull(defaults);
this.budgetPerStudent = defaults.budgetPerStudent;
this.currency = defaults.currency;
this.description = defaults.description;
this.displayName = defaults.displayName;
this.effectiveDate = defaults.effectiveDate;
this.expirationDate = defaults.expirationDate;
this.id = defaults.id;
this.invitationCode = defaults.invitationCode;
this.maxStudentCount = defaults.maxStudentCount;
this.name = defaults.name;
this.status = defaults.status;
this.systemData = defaults.systemData;
this.type = defaults.type;
this.value = defaults.value;
}
@CustomType.Setter
public Builder budgetPerStudent(AmountResponse budgetPerStudent) {
if (budgetPerStudent == null) {
throw new MissingRequiredPropertyException("GetLabResult", "budgetPerStudent");
}
this.budgetPerStudent = budgetPerStudent;
return this;
}
@CustomType.Setter
public Builder currency(@Nullable String currency) {
this.currency = currency;
return this;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("GetLabResult", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder displayName(String displayName) {
if (displayName == null) {
throw new MissingRequiredPropertyException("GetLabResult", "displayName");
}
this.displayName = displayName;
return this;
}
@CustomType.Setter
public Builder effectiveDate(String effectiveDate) {
if (effectiveDate == null) {
throw new MissingRequiredPropertyException("GetLabResult", "effectiveDate");
}
this.effectiveDate = effectiveDate;
return this;
}
@CustomType.Setter
public Builder expirationDate(String expirationDate) {
if (expirationDate == null) {
throw new MissingRequiredPropertyException("GetLabResult", "expirationDate");
}
this.expirationDate = expirationDate;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetLabResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder invitationCode(String invitationCode) {
if (invitationCode == null) {
throw new MissingRequiredPropertyException("GetLabResult", "invitationCode");
}
this.invitationCode = invitationCode;
return this;
}
@CustomType.Setter
public Builder maxStudentCount(Double maxStudentCount) {
if (maxStudentCount == null) {
throw new MissingRequiredPropertyException("GetLabResult", "maxStudentCount");
}
this.maxStudentCount = maxStudentCount;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetLabResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("GetLabResult", "status");
}
this.status = status;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetLabResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetLabResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder value(@Nullable Double value) {
this.value = value;
return this;
}
public GetLabResult build() {
final var _resultValue = new GetLabResult();
_resultValue.budgetPerStudent = budgetPerStudent;
_resultValue.currency = currency;
_resultValue.description = description;
_resultValue.displayName = displayName;
_resultValue.effectiveDate = effectiveDate;
_resultValue.expirationDate = expirationDate;
_resultValue.id = id;
_resultValue.invitationCode = invitationCode;
_resultValue.maxStudentCount = maxStudentCount;
_resultValue.name = name;
_resultValue.status = status;
_resultValue.systemData = systemData;
_resultValue.type = type;
_resultValue.value = value;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy