java.lang.Object
com.azure.resourcemanager.dynatrace.models.UserInfo

public final class UserInfo extends Object
User info.
  • Constructor Details

    • UserInfo

      public UserInfo()
  • Method Details

    • firstName

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

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

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

      public UserInfo withLastName(String lastName)
      Set the lastName property: Last Name of the user.
      Parameters:
      lastName - the lastName value to set.
      Returns:
      the UserInfo object itself.
    • emailAddress

      public String emailAddress()
      Get the emailAddress property: Email of the user used by Dynatrace for contacting them if needed.
      Returns:
      the emailAddress value.
    • withEmailAddress

      public UserInfo withEmailAddress(String emailAddress)
      Set the emailAddress property: Email of the user used by Dynatrace for contacting them if needed.
      Parameters:
      emailAddress - the emailAddress value to set.
      Returns:
      the UserInfo object itself.
    • phoneNumber

      public String phoneNumber()
      Get the phoneNumber property: Phone number of the user used by Dynatrace for contacting them if needed.
      Returns:
      the phoneNumber value.
    • withPhoneNumber

      public UserInfo withPhoneNumber(String phoneNumber)
      Set the phoneNumber property: Phone number of the user used by Dynatrace for contacting them if needed.
      Parameters:
      phoneNumber - the phoneNumber value to set.
      Returns:
      the UserInfo object itself.
    • country

      public String country()
      Get the country property: Country of the user.
      Returns:
      the country value.
    • withCountry

      public UserInfo withCountry(String country)
      Set the country property: Country of the user.
      Parameters:
      country - the country value to set.
      Returns:
      the UserInfo object itself.
    • validate

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