UserInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.datadog.models.UserInfo

public final class UserInfo

User info.

Constructor Summary

Constructor Description
UserInfo()

Creates an instance of UserInfo class.

Method Summary

Modifier and Type Method and Description
String emailAddress()

Get the emailAddress property: Email of the user used by Datadog for contacting them if needed.

String name()

Get the name property: Name of the user.

String phoneNumber()

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

void validate()

Validates the instance.

UserInfo withEmailAddress(String emailAddress)

Set the emailAddress property: Email of the user used by Datadog for contacting them if needed.

UserInfo withName(String name)

Set the name property: Name of the user.

UserInfo withPhoneNumber(String phoneNumber)

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

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:

the emailAddress value.

name

public String name()

Get the name property: Name of the user.

Returns:

the name value.

phoneNumber

public String phoneNumber()

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

Returns:

the phoneNumber value.

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:

emailAddress - the emailAddress value to set.

Returns:

the UserInfo object itself.

withName

public UserInfo withName(String name)

Set the name property: Name of the user.

Parameters:

name - the name value to set.

Returns:

the UserInfo object itself.

withPhoneNumber

public UserInfo withPhoneNumber(String phoneNumber)

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.

Applies to