All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.labservices.outputs.GetUserResult Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** 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.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 GetUserResult {
    /**
     * @return The amount of usage quota time the user gets in addition to the lab usage quota.
     * 
     */
    private @Nullable String additionalUsageQuota;
    /**
     * @return Display name of the user, for example user's full name.
     * 
     */
    private String displayName;
    /**
     * @return Email address of the user.
     * 
     */
    private String email;
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    private String id;
    /**
     * @return Date and time when the invitation message was sent to the user.
     * 
     */
    private String invitationSent;
    /**
     * @return State of the invitation message for the user.
     * 
     */
    private String invitationState;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return Current provisioning state of the user resource.
     * 
     */
    private String provisioningState;
    /**
     * @return State of the user's registration within the lab.
     * 
     */
    private String registrationState;
    /**
     * @return Metadata pertaining to creation and last modification of the user resource.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return How long the user has used their virtual machines in this lab.
     * 
     */
    private String totalUsage;
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    private String type;

    private GetUserResult() {}
    /**
     * @return The amount of usage quota time the user gets in addition to the lab usage quota.
     * 
     */
    public Optional additionalUsageQuota() {
        return Optional.ofNullable(this.additionalUsageQuota);
    }
    /**
     * @return Display name of the user, for example user's full name.
     * 
     */
    public String displayName() {
        return this.displayName;
    }
    /**
     * @return Email address of the user.
     * 
     */
    public String email() {
        return this.email;
    }
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Date and time when the invitation message was sent to the user.
     * 
     */
    public String invitationSent() {
        return this.invitationSent;
    }
    /**
     * @return State of the invitation message for the user.
     * 
     */
    public String invitationState() {
        return this.invitationState;
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Current provisioning state of the user resource.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return State of the user's registration within the lab.
     * 
     */
    public String registrationState() {
        return this.registrationState;
    }
    /**
     * @return Metadata pertaining to creation and last modification of the user resource.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return How long the user has used their virtual machines in this lab.
     * 
     */
    public String totalUsage() {
        return this.totalUsage;
    }
    /**
     * @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(GetUserResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String additionalUsageQuota;
        private String displayName;
        private String email;
        private String id;
        private String invitationSent;
        private String invitationState;
        private String name;
        private String provisioningState;
        private String registrationState;
        private SystemDataResponse systemData;
        private String totalUsage;
        private String type;
        public Builder() {}
        public Builder(GetUserResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.additionalUsageQuota = defaults.additionalUsageQuota;
    	      this.displayName = defaults.displayName;
    	      this.email = defaults.email;
    	      this.id = defaults.id;
    	      this.invitationSent = defaults.invitationSent;
    	      this.invitationState = defaults.invitationState;
    	      this.name = defaults.name;
    	      this.provisioningState = defaults.provisioningState;
    	      this.registrationState = defaults.registrationState;
    	      this.systemData = defaults.systemData;
    	      this.totalUsage = defaults.totalUsage;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder additionalUsageQuota(@Nullable String additionalUsageQuota) {

            this.additionalUsageQuota = additionalUsageQuota;
            return this;
        }
        @CustomType.Setter
        public Builder displayName(String displayName) {
            if (displayName == null) {
              throw new MissingRequiredPropertyException("GetUserResult", "displayName");
            }
            this.displayName = displayName;
            return this;
        }
        @CustomType.Setter
        public Builder email(String email) {
            if (email == null) {
              throw new MissingRequiredPropertyException("GetUserResult", "email");
            }
            this.email = email;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetUserResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder invitationSent(String invitationSent) {
            if (invitationSent == null) {
              throw new MissingRequiredPropertyException("GetUserResult", "invitationSent");
            }
            this.invitationSent = invitationSent;
            return this;
        }
        @CustomType.Setter
        public Builder invitationState(String invitationState) {
            if (invitationState == null) {
              throw new MissingRequiredPropertyException("GetUserResult", "invitationState");
            }
            this.invitationState = invitationState;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetUserResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetUserResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder registrationState(String registrationState) {
            if (registrationState == null) {
              throw new MissingRequiredPropertyException("GetUserResult", "registrationState");
            }
            this.registrationState = registrationState;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetUserResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder totalUsage(String totalUsage) {
            if (totalUsage == null) {
              throw new MissingRequiredPropertyException("GetUserResult", "totalUsage");
            }
            this.totalUsage = totalUsage;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetUserResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetUserResult build() {
            final var _resultValue = new GetUserResult();
            _resultValue.additionalUsageQuota = additionalUsageQuota;
            _resultValue.displayName = displayName;
            _resultValue.email = email;
            _resultValue.id = id;
            _resultValue.invitationSent = invitationSent;
            _resultValue.invitationState = invitationState;
            _resultValue.name = name;
            _resultValue.provisioningState = provisioningState;
            _resultValue.registrationState = registrationState;
            _resultValue.systemData = systemData;
            _resultValue.totalUsage = totalUsage;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy