Class UserInfo
java.lang.Object
com.azure.resourcemanager.logz.models.UserInfo
The UserInfo model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the emailAddress property: Email of the user used by Logz for contacting them if needed.Get the firstName property: First Name of the user.lastName()
Get the lastName property: Last Name of the user.Get the phoneNumber property: Phone number of the user used by Logz for contacting them if needed.void
validate()
Validates the instance.withEmailAddress
(String emailAddress) Set the emailAddress property: Email of the user used by Logz for contacting them if needed.withFirstName
(String firstName) Set the firstName property: First Name of the user.withLastName
(String lastName) Set the lastName property: Last Name of the user.withPhoneNumber
(String phoneNumber) Set the phoneNumber property: Phone number of the user used by Logz for contacting them if needed.
-
Constructor Details
-
UserInfo
public UserInfo()Creates an instance of UserInfo class.
-
-
Method Details
-
firstName
Get the firstName property: First Name of the user.- Returns:
- the firstName value.
-
withFirstName
Set the firstName property: First Name of the user.- Parameters:
firstName
- the firstName value to set.- Returns:
- the UserInfo object itself.
-
lastName
Get the lastName property: Last Name of the user.- Returns:
- the lastName value.
-
withLastName
Set the lastName property: Last Name of the user.- Parameters:
lastName
- the lastName value to set.- Returns:
- the UserInfo object itself.
-
emailAddress
Get the emailAddress property: Email of the user used by Logz for contacting them if needed.- Returns:
- the emailAddress value.
-
withEmailAddress
Set the emailAddress property: Email of the user used by Logz for contacting them if needed.- Parameters:
emailAddress
- the emailAddress value to set.- Returns:
- the UserInfo object itself.
-
phoneNumber
Get the phoneNumber property: Phone number of the user used by Logz for contacting them if needed.- Returns:
- the phoneNumber value.
-
withPhoneNumber
Set the phoneNumber property: Phone number of the user used by Logz for contacting them if needed.- Parameters:
phoneNumber
- the phoneNumber value to set.- Returns:
- the UserInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-