java.lang.Object
com.azure.resourcemanager.informaticadatamanagement.models.UserDetailsUpdate
All Implemented Interfaces:
com.azure.json.JsonSerializable<UserDetailsUpdate>

public final class UserDetailsUpdate extends Object implements com.azure.json.JsonSerializable<UserDetailsUpdate>
User Info of Informatica Organization resource.
  • Constructor Details

    • UserDetailsUpdate

      public UserDetailsUpdate()
      Creates an instance of UserDetailsUpdate class.
  • Method Details

    • firstName

      public String firstName()
      Get the firstName property: User first name.
      Returns:
      the firstName value.
    • withFirstName

      public UserDetailsUpdate withFirstName(String firstName)
      Set the firstName property: User first name.
      Parameters:
      firstName - the firstName value to set.
      Returns:
      the UserDetailsUpdate object itself.
    • lastName

      public String lastName()
      Get the lastName property: User last name.
      Returns:
      the lastName value.
    • withLastName

      public UserDetailsUpdate withLastName(String lastName)
      Set the lastName property: User last name.
      Parameters:
      lastName - the lastName value to set.
      Returns:
      the UserDetailsUpdate object itself.
    • emailAddress

      public String emailAddress()
      Get the emailAddress property: User email address.
      Returns:
      the emailAddress value.
    • withEmailAddress

      public UserDetailsUpdate withEmailAddress(String emailAddress)
      Set the emailAddress property: User email address.
      Parameters:
      emailAddress - the emailAddress value to set.
      Returns:
      the UserDetailsUpdate object itself.
    • upn

      public String upn()
      Get the upn property: UPN of user.
      Returns:
      the upn value.
    • withUpn

      public UserDetailsUpdate withUpn(String upn)
      Set the upn property: UPN of user.
      Parameters:
      upn - the upn value to set.
      Returns:
      the UserDetailsUpdate object itself.
    • phoneNumber

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

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

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<UserDetailsUpdate>
      Throws:
      IOException
    • fromJson

      public static UserDetailsUpdate fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of UserDetailsUpdate from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of UserDetailsUpdate if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the UserDetailsUpdate.