java.lang.Object
com.azure.resourcemanager.labservices.fluent.models.UserUpdateProperties
com.azure.resourcemanager.labservices.fluent.models.UserProperties

public final class UserProperties extends UserUpdateProperties
User resource properties.
  • Constructor Details

    • UserProperties

      public UserProperties()
  • Method Details

    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: Current provisioning state of the user resource.
      Returns:
      the provisioningState 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.
    • withEmail

      public UserProperties withEmail(String email)
      Set the email property: Email address of the user.
      Parameters:
      email - the email value to set.
      Returns:
      the UserProperties object itself.
    • registrationState

      public RegistrationState registrationState()
      Get the registrationState property: State of the user's registration within the lab.
      Returns:
      the registrationState value.
    • invitationState

      public InvitationState invitationState()
      Get the invitationState property: State of the invitation message for the user.
      Returns:
      the invitationState 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.
    • totalUsage

      public Duration totalUsage()
      Get the totalUsage property: How long the user has used their virtual machines in this lab.
      Returns:
      the totalUsage value.
    • withAdditionalUsageQuota

      public UserProperties withAdditionalUsageQuota(Duration additionalUsageQuota)
      Set the additionalUsageQuota property: The amount of usage quota time the user gets in addition to the lab usage quota.
      Overrides:
      withAdditionalUsageQuota in class UserUpdateProperties
      Parameters:
      additionalUsageQuota - the additionalUsageQuota value to set.
      Returns:
      the UserUpdateProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class UserUpdateProperties
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.