com.pulumi.azurenative.education.outputs.GetStudentResult 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.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetStudentResult {
/**
* @return Student Budget
*
*/
private AmountResponse budget;
/**
* @return Date student was added to the lab
*
*/
private String effectiveDate;
/**
* @return Student Email
*
*/
private String email;
/**
* @return Date this student is set to expire from the lab.
*
*/
private String expirationDate;
/**
* @return First Name
*
*/
private String firstName;
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
private String id;
/**
* @return Last Name
*
*/
private String lastName;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return Student Role
*
*/
private String role;
/**
* @return Student Lab Status
*
*/
private String status;
/**
* @return Subscription alias
*
*/
private @Nullable String subscriptionAlias;
/**
* @return Subscription Id
*
*/
private String subscriptionId;
/**
* @return subscription invite last sent date
*
*/
private @Nullable String subscriptionInviteLastSentDate;
/**
* @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;
private GetStudentResult() {}
/**
* @return Student Budget
*
*/
public AmountResponse budget() {
return this.budget;
}
/**
* @return Date student was added to the lab
*
*/
public String effectiveDate() {
return this.effectiveDate;
}
/**
* @return Student Email
*
*/
public String email() {
return this.email;
}
/**
* @return Date this student is set to expire from the lab.
*
*/
public String expirationDate() {
return this.expirationDate;
}
/**
* @return First Name
*
*/
public String firstName() {
return this.firstName;
}
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
public String id() {
return this.id;
}
/**
* @return Last Name
*
*/
public String lastName() {
return this.lastName;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return Student Role
*
*/
public String role() {
return this.role;
}
/**
* @return Student Lab Status
*
*/
public String status() {
return this.status;
}
/**
* @return Subscription alias
*
*/
public Optional subscriptionAlias() {
return Optional.ofNullable(this.subscriptionAlias);
}
/**
* @return Subscription Id
*
*/
public String subscriptionId() {
return this.subscriptionId;
}
/**
* @return subscription invite last sent date
*
*/
public Optional subscriptionInviteLastSentDate() {
return Optional.ofNullable(this.subscriptionInviteLastSentDate);
}
/**
* @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;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetStudentResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private AmountResponse budget;
private String effectiveDate;
private String email;
private String expirationDate;
private String firstName;
private String id;
private String lastName;
private String name;
private String role;
private String status;
private @Nullable String subscriptionAlias;
private String subscriptionId;
private @Nullable String subscriptionInviteLastSentDate;
private SystemDataResponse systemData;
private String type;
public Builder() {}
public Builder(GetStudentResult defaults) {
Objects.requireNonNull(defaults);
this.budget = defaults.budget;
this.effectiveDate = defaults.effectiveDate;
this.email = defaults.email;
this.expirationDate = defaults.expirationDate;
this.firstName = defaults.firstName;
this.id = defaults.id;
this.lastName = defaults.lastName;
this.name = defaults.name;
this.role = defaults.role;
this.status = defaults.status;
this.subscriptionAlias = defaults.subscriptionAlias;
this.subscriptionId = defaults.subscriptionId;
this.subscriptionInviteLastSentDate = defaults.subscriptionInviteLastSentDate;
this.systemData = defaults.systemData;
this.type = defaults.type;
}
@CustomType.Setter
public Builder budget(AmountResponse budget) {
if (budget == null) {
throw new MissingRequiredPropertyException("GetStudentResult", "budget");
}
this.budget = budget;
return this;
}
@CustomType.Setter
public Builder effectiveDate(String effectiveDate) {
if (effectiveDate == null) {
throw new MissingRequiredPropertyException("GetStudentResult", "effectiveDate");
}
this.effectiveDate = effectiveDate;
return this;
}
@CustomType.Setter
public Builder email(String email) {
if (email == null) {
throw new MissingRequiredPropertyException("GetStudentResult", "email");
}
this.email = email;
return this;
}
@CustomType.Setter
public Builder expirationDate(String expirationDate) {
if (expirationDate == null) {
throw new MissingRequiredPropertyException("GetStudentResult", "expirationDate");
}
this.expirationDate = expirationDate;
return this;
}
@CustomType.Setter
public Builder firstName(String firstName) {
if (firstName == null) {
throw new MissingRequiredPropertyException("GetStudentResult", "firstName");
}
this.firstName = firstName;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetStudentResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder lastName(String lastName) {
if (lastName == null) {
throw new MissingRequiredPropertyException("GetStudentResult", "lastName");
}
this.lastName = lastName;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetStudentResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder role(String role) {
if (role == null) {
throw new MissingRequiredPropertyException("GetStudentResult", "role");
}
this.role = role;
return this;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("GetStudentResult", "status");
}
this.status = status;
return this;
}
@CustomType.Setter
public Builder subscriptionAlias(@Nullable String subscriptionAlias) {
this.subscriptionAlias = subscriptionAlias;
return this;
}
@CustomType.Setter
public Builder subscriptionId(String subscriptionId) {
if (subscriptionId == null) {
throw new MissingRequiredPropertyException("GetStudentResult", "subscriptionId");
}
this.subscriptionId = subscriptionId;
return this;
}
@CustomType.Setter
public Builder subscriptionInviteLastSentDate(@Nullable String subscriptionInviteLastSentDate) {
this.subscriptionInviteLastSentDate = subscriptionInviteLastSentDate;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetStudentResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetStudentResult", "type");
}
this.type = type;
return this;
}
public GetStudentResult build() {
final var _resultValue = new GetStudentResult();
_resultValue.budget = budget;
_resultValue.effectiveDate = effectiveDate;
_resultValue.email = email;
_resultValue.expirationDate = expirationDate;
_resultValue.firstName = firstName;
_resultValue.id = id;
_resultValue.lastName = lastName;
_resultValue.name = name;
_resultValue.role = role;
_resultValue.status = status;
_resultValue.subscriptionAlias = subscriptionAlias;
_resultValue.subscriptionId = subscriptionId;
_resultValue.subscriptionInviteLastSentDate = subscriptionInviteLastSentDate;
_resultValue.systemData = systemData;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy