Class UserDetails
java.lang.Object
com.azure.resourcemanager.informaticadatamanagement.models.UserDetails
- All Implemented Interfaces:
com.azure.json.JsonSerializable<UserDetails>
public final class UserDetails
extends Object
implements com.azure.json.JsonSerializable<UserDetails>
User Info of Informatica Organization resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the emailAddress property: User email address.Get the firstName property: User first name.static UserDetailsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of UserDetails from the JsonReader.lastName()Get the lastName property: User last name.Get the phoneNumber property: Phone number of the user used by for contacting them if needed.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) upn()Get the upn property: UPN of user.voidvalidate()Validates the instance.withEmailAddress(String emailAddress) Set the emailAddress property: User email address.withFirstName(String firstName) Set the firstName property: User first name.withLastName(String lastName) Set the lastName property: User last name.withPhoneNumber(String phoneNumber) Set the phoneNumber property: Phone number of the user used by for contacting them if needed.Set the upn property: UPN of user.
-
Constructor Details
-
UserDetails
public UserDetails()Creates an instance of UserDetails class.
-
-
Method Details
-
firstName
Get the firstName property: User first name.- Returns:
- the firstName value.
-
withFirstName
Set the firstName property: User first name.- Parameters:
firstName- the firstName value to set.- Returns:
- the UserDetails object itself.
-
lastName
Get the lastName property: User last name.- Returns:
- the lastName value.
-
withLastName
Set the lastName property: User last name.- Parameters:
lastName- the lastName value to set.- Returns:
- the UserDetails object itself.
-
emailAddress
Get the emailAddress property: User email address.- Returns:
- the emailAddress value.
-
withEmailAddress
Set the emailAddress property: User email address.- Parameters:
emailAddress- the emailAddress value to set.- Returns:
- the UserDetails object itself.
-
upn
Get the upn property: UPN of user.- Returns:
- the upn value.
-
withUpn
Set the upn property: UPN of user.- Parameters:
upn- the upn value to set.- Returns:
- the UserDetails object itself.
-
phoneNumber
Get the phoneNumber property: Phone number of the user used by for contacting them if needed.- Returns:
- the phoneNumber value.
-
withPhoneNumber
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 UserDetails object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<UserDetails>- Throws:
IOException
-
fromJson
Reads an instance of UserDetails from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of UserDetails 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 UserDetails.
-