Class UserInfo
java.lang.Object
com.azure.resourcemanager.datadog.models.UserInfo
User info.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the emailAddress property: Email of the user used by Datadog for contacting them if needed.name()
Get the name property: Name of the user.Get the phoneNumber property: Phone number of the user used by Datadog for contacting them if needed.void
validate()
Validates the instance.withEmailAddress
(String emailAddress) Set the emailAddress property: Email of the user used by Datadog for contacting them if needed.Set the name property: Name of the user.withPhoneNumber
(String phoneNumber) Set the phoneNumber property: Phone number of the user used by Datadog for contacting them if needed.
-
Constructor Details
-
UserInfo
public UserInfo()Creates an instance of UserInfo class.
-
-
Method Details
-
name
Get the name property: Name of the user.- Returns:
- the name value.
-
withName
Set the name property: Name of the user.- Parameters:
name
- the name value to set.- Returns:
- the UserInfo object itself.
-
emailAddress
Get the emailAddress property: Email of the user used by Datadog for contacting them if needed.- Returns:
- the emailAddress value.
-
withEmailAddress
Set the emailAddress property: Email of the user used by Datadog 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 Datadog for contacting them if needed.- Returns:
- the phoneNumber value.
-
withPhoneNumber
Set the phoneNumber property: Phone number of the user used by Datadog 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.
-