java.lang.Object
com.azure.resourcemanager.securityinsights.models.ClientInfo

public final class ClientInfo extends Object
Information on the client (user or application) that made some action.
  • Constructor Details

    • ClientInfo

      public ClientInfo()
  • Method Details

    • email

      public String email()
      Get the email property: The email of the client.
      Returns:
      the email value.
    • withEmail

      public ClientInfo withEmail(String email)
      Set the email property: The email of the client.
      Parameters:
      email - the email value to set.
      Returns:
      the ClientInfo object itself.
    • name

      public String name()
      Get the name property: The name of the client.
      Returns:
      the name value.
    • withName

      public ClientInfo withName(String name)
      Set the name property: The name of the client.
      Parameters:
      name - the name value to set.
      Returns:
      the ClientInfo object itself.
    • objectId

      public UUID objectId()
      Get the objectId property: The object id of the client.
      Returns:
      the objectId value.
    • withObjectId

      public ClientInfo withObjectId(UUID objectId)
      Set the objectId property: The object id of the client.
      Parameters:
      objectId - the objectId value to set.
      Returns:
      the ClientInfo object itself.
    • userPrincipalName

      public String userPrincipalName()
      Get the userPrincipalName property: The user principal name of the client.
      Returns:
      the userPrincipalName value.
    • withUserPrincipalName

      public ClientInfo withUserPrincipalName(String userPrincipalName)
      Set the userPrincipalName property: The user principal name of the client.
      Parameters:
      userPrincipalName - the userPrincipalName value to set.
      Returns:
      the ClientInfo object itself.
    • validate

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