UserInfo Class
- java.
lang. Object - com.
azure. resourcemanager. datadog. models. UserInfo
- com.
public final class UserInfo
User info.
Constructor Summary
Constructor | Description |
---|---|
UserInfo() |
Creates an instance of User |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
emailAddress()
Get the email |
String |
name()
Get the name property: Name of the user. |
String |
phoneNumber()
Get the phone |
void |
validate()
Validates the instance. |
User |
withEmailAddress(String emailAddress)
Set the email |
User |
withName(String name)
Set the name property: Name of the user. |
User |
withPhoneNumber(String phoneNumber)
Set the phone |
Methods inherited from java.lang.Object
Constructor Details
UserInfo
public UserInfo()
Creates an instance of UserInfo class.
Method Details
emailAddress
public String emailAddress()
Get the emailAddress property: Email of the user used by Datadog for contacting them if needed.
Returns:
name
public String name()
Get the name property: Name of the user.
Returns:
phoneNumber
public String phoneNumber()
Get the phoneNumber property: Phone number of the user used by Datadog for contacting them if needed.
Returns:
validate
public void validate()
Validates the instance.
withEmailAddress
public UserInfo withEmailAddress(String emailAddress)
Set the emailAddress property: Email of the user used by Datadog for contacting them if needed.
Parameters:
Returns:
withName
public UserInfo withName(String name)
Set the name property: Name of the user.
Parameters:
Returns:
withPhoneNumber
public UserInfo withPhoneNumber(String phoneNumber)
Set the phoneNumber property: Phone number of the user used by Datadog for contacting them if needed.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for