Class UserInfo
java.lang.Object
com.azure.resourcemanager.securityinsights.models.UserInfo
User information that made some action.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionemail()
Get the email property: The email of the user.name()
Get the name property: The name of the user.objectId()
Get the objectId property: The object id of the user.void
validate()
Validates the instance.withObjectId
(UUID objectId) Set the objectId property: The object id of the user.
-
Constructor Details
-
UserInfo
public UserInfo()
-
-
Method Details
-
email
Get the email property: The email of the user.- Returns:
- the email value.
-
name
Get the name property: The name of the user.- Returns:
- the name value.
-
objectId
Get the objectId property: The object id of the user.- Returns:
- the objectId value.
-
withObjectId
Set the objectId property: The object id of the user.- Parameters:
objectId
- the objectId value to set.- Returns:
- the UserInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-