Class ClientInfo
java.lang.Object
com.azure.resourcemanager.securityinsights.models.ClientInfo
Information on the client (user or application) that made some action.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionemail()
Get the email property: The email of the client.name()
Get the name property: The name of the client.objectId()
Get the objectId property: The object id of the client.Get the userPrincipalName property: The user principal name of the client.void
validate()
Validates the instance.Set the email property: The email of the client.Set the name property: The name of the client.withObjectId
(UUID objectId) Set the objectId property: The object id of the client.withUserPrincipalName
(String userPrincipalName) Set the userPrincipalName property: The user principal name of the client.
-
Constructor Details
-
ClientInfo
public ClientInfo()
-
-
Method Details
-
email
Get the email property: The email of the client.- Returns:
- the email value.
-
withEmail
Set the email property: The email of the client.- Parameters:
email
- the email value to set.- Returns:
- the ClientInfo object itself.
-
name
Get the name property: The name of the client.- Returns:
- the name value.
-
withName
Set the name property: The name of the client.- Parameters:
name
- the name value to set.- Returns:
- the ClientInfo object itself.
-
objectId
Get the objectId property: The object id of the client.- Returns:
- the objectId value.
-
withObjectId
Set the objectId property: The object id of the client.- Parameters:
objectId
- the objectId value to set.- Returns:
- the ClientInfo object itself.
-
userPrincipalName
Get the userPrincipalName property: The user principal name of the client.- Returns:
- the userPrincipalName value.
-
withUserPrincipalName
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.
-