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

public final class UserInfo extends Object
User info.
  • Constructor Details

    • UserInfo

      public UserInfo()
      Creates an instance of UserInfo class.
  • Method Details

    • name

      public String name()
      Get the name property: Name of the user.
      Returns:
      the name value.
    • 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.
    • emailAddress

      public String emailAddress()
      Get the emailAddress property: Email of the user used by Datadog for contacting them if needed.
      Returns:
      the emailAddress value.
    • 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.
    • 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.
    • 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.