UserInner Class

public final class UserInner
extends ProxyResource

User of a lab that can register for and use virtual machines within the lab.

Constructor Summary

Constructor Description
UserInner()

Method Summary

Modifier and Type Method and Description
Duration additionalUsageQuota()

Get the additionalUsageQuota property: The amount of usage quota time the user gets in addition to the lab usage quota.

String displayName()

Get the displayName property: Display name of the user, for example user's full name.

String email()

Get the email property: Email address of the user.

OffsetDateTime invitationSent()

Get the invitationSent property: Date and time when the invitation message was sent to the user.

InvitationState invitationState()

Get the invitationState property: State of the invitation message for the user.

ProvisioningState provisioningState()

Get the provisioningState property: Current provisioning state of the user resource.

RegistrationState registrationState()

Get the registrationState property: State of the user's registration within the lab.

SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the user resource.

Duration totalUsage()

Get the totalUsage property: How long the user has used their virtual machines in this lab.

void validate()

Validates the instance.

UserInner withAdditionalUsageQuota(Duration additionalUsageQuota)

Set the additionalUsageQuota property: The amount of usage quota time the user gets in addition to the lab usage quota.

UserInner withEmail(String email)

Set the email property: Email address of the user.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

UserInner

public UserInner()

Method Details

additionalUsageQuota

public Duration additionalUsageQuota()

Get the additionalUsageQuota property: The amount of usage quota time the user gets in addition to the lab usage quota.

Returns:

the additionalUsageQuota value.

displayName

public String displayName()

Get the displayName property: Display name of the user, for example user's full name.

Returns:

the displayName value.

email

public String email()

Get the email property: Email address of the user.

Returns:

the email value.

invitationSent

public OffsetDateTime invitationSent()

Get the invitationSent property: Date and time when the invitation message was sent to the user.

Returns:

the invitationSent value.

invitationState

public InvitationState invitationState()

Get the invitationState property: State of the invitation message for the user.

Returns:

the invitationState value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Current provisioning state of the user resource.

Returns:

the provisioningState value.

registrationState

public RegistrationState registrationState()

Get the registrationState property: State of the user's registration within the lab.

Returns:

the registrationState value.

systemData

public SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the user resource.

Returns:

the systemData value.

totalUsage

public Duration totalUsage()

Get the totalUsage property: How long the user has used their virtual machines in this lab.

Returns:

the totalUsage value.

validate

public void validate()

Validates the instance.

withAdditionalUsageQuota

public UserInner withAdditionalUsageQuota(Duration additionalUsageQuota)

Set the additionalUsageQuota property: The amount of usage quota time the user gets in addition to the lab usage quota.

Parameters:

additionalUsageQuota - the additionalUsageQuota value to set.

Returns:

the UserInner object itself.

withEmail

public UserInner withEmail(String email)

Set the email property: Email address of the user.

Parameters:

email - the email value to set.

Returns:

the UserInner object itself.

Applies to