UserDetailsUpdate Class

  • java.lang.Object
    • com.azure.resourcemanager.informaticadatamanagement.models.UserDetailsUpdate

Implements

public final class UserDetailsUpdate
implements JsonSerializable<UserDetailsUpdate>

User Info of Informatica Organization resource.

Constructor Summary

Constructor Description
UserDetailsUpdate()

Creates an instance of UserDetailsUpdate class.

Method Summary

Modifier and Type Method and Description
String emailAddress()

Get the emailAddress property: User email address.

String firstName()

Get the firstName property: User first name.

static UserDetailsUpdate fromJson(JsonReader jsonReader)

Reads an instance of UserDetailsUpdate from the JsonReader.

String lastName()

Get the lastName property: User last name.

String phoneNumber()

Get the phoneNumber property: Phone number of the user used by for contacting them if needed.

JsonWriter toJson(JsonWriter jsonWriter)
String upn()

Get the upn property: UPN of user.

void validate()

Validates the instance.

UserDetailsUpdate withEmailAddress(String emailAddress)

Set the emailAddress property: User email address.

UserDetailsUpdate withFirstName(String firstName)

Set the firstName property: User first name.

UserDetailsUpdate withLastName(String lastName)

Set the lastName property: User last name.

UserDetailsUpdate withPhoneNumber(String phoneNumber)

Set the phoneNumber property: Phone number of the user used by for contacting them if needed.

UserDetailsUpdate withUpn(String upn)

Set the upn property: UPN of user.

Methods inherited from java.lang.Object

Constructor Details

UserDetailsUpdate

public UserDetailsUpdate()

Creates an instance of UserDetailsUpdate class.

Method Details

emailAddress

public String emailAddress()

Get the emailAddress property: User email address.

Returns:

the emailAddress value.

firstName

public String firstName()

Get the firstName property: User first name.

Returns:

the firstName value.

fromJson

public static UserDetailsUpdate fromJson(JsonReader jsonReader)

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.

lastName

public String lastName()

Get the lastName property: User last name.

Returns:

the lastName value.

phoneNumber

public String phoneNumber()

Get the phoneNumber property: Phone number of the user used by for contacting them if needed.

Returns:

the phoneNumber value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

upn

public String upn()

Get the upn property: UPN of user.

Returns:

the upn value.

validate

public void validate()

Validates the instance.

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.

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.

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.

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.

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.

Applies to