Class StudentProperties

java.lang.Object
com.azure.resourcemanager.education.fluent.models.StudentProperties

public final class StudentProperties extends Object
Student detail properties.
  • Constructor Details

    • StudentProperties

      public StudentProperties()
  • Method Details

    • firstName

      public String firstName()
      Get the firstName property: First Name.
      Returns:
      the firstName value.
    • withFirstName

      public StudentProperties withFirstName(String firstName)
      Set the firstName property: First Name.
      Parameters:
      firstName - the firstName value to set.
      Returns:
      the StudentProperties object itself.
    • lastName

      public String lastName()
      Get the lastName property: Last Name.
      Returns:
      the lastName value.
    • withLastName

      public StudentProperties withLastName(String lastName)
      Set the lastName property: Last Name.
      Parameters:
      lastName - the lastName value to set.
      Returns:
      the StudentProperties object itself.
    • email

      public String email()
      Get the email property: Student Email.
      Returns:
      the email value.
    • withEmail

      public StudentProperties withEmail(String email)
      Set the email property: Student Email.
      Parameters:
      email - the email value to set.
      Returns:
      the StudentProperties object itself.
    • role

      public StudentRole role()
      Get the role property: Student Role.
      Returns:
      the role value.
    • withRole

      public StudentProperties withRole(StudentRole role)
      Set the role property: Student Role.
      Parameters:
      role - the role value to set.
      Returns:
      the StudentProperties object itself.
    • budget

      public Amount budget()
      Get the budget property: Student Budget.
      Returns:
      the budget value.
    • withBudget

      public StudentProperties withBudget(Amount budget)
      Set the budget property: Student Budget.
      Parameters:
      budget - the budget value to set.
      Returns:
      the StudentProperties object itself.
    • subscriptionId

      public String subscriptionId()
      Get the subscriptionId property: Subscription Id.
      Returns:
      the subscriptionId value.
    • expirationDate

      public OffsetDateTime expirationDate()
      Get the expirationDate property: Date this student is set to expire from the lab.
      Returns:
      the expirationDate value.
    • withExpirationDate

      public StudentProperties withExpirationDate(OffsetDateTime expirationDate)
      Set the expirationDate property: Date this student is set to expire from the lab.
      Parameters:
      expirationDate - the expirationDate value to set.
      Returns:
      the StudentProperties object itself.
    • status

      public StudentLabStatus status()
      Get the status property: Student Lab Status.
      Returns:
      the status value.
    • effectiveDate

      public OffsetDateTime effectiveDate()
      Get the effectiveDate property: Date student was added to the lab.
      Returns:
      the effectiveDate value.
    • subscriptionAlias

      public String subscriptionAlias()
      Get the subscriptionAlias property: Subscription alias.
      Returns:
      the subscriptionAlias value.
    • withSubscriptionAlias

      public StudentProperties withSubscriptionAlias(String subscriptionAlias)
      Set the subscriptionAlias property: Subscription alias.
      Parameters:
      subscriptionAlias - the subscriptionAlias value to set.
      Returns:
      the StudentProperties object itself.
    • subscriptionInviteLastSentDate

      public OffsetDateTime subscriptionInviteLastSentDate()
      Get the subscriptionInviteLastSentDate property: subscription invite last sent date.
      Returns:
      the subscriptionInviteLastSentDate value.
    • withSubscriptionInviteLastSentDate

      public StudentProperties withSubscriptionInviteLastSentDate(OffsetDateTime subscriptionInviteLastSentDate)
      Set the subscriptionInviteLastSentDate property: subscription invite last sent date.
      Parameters:
      subscriptionInviteLastSentDate - the subscriptionInviteLastSentDate value to set.
      Returns:
      the StudentProperties object itself.
    • validate

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