Class UserInfo
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.UserInfo
-
public final class UserInfo extends Object
User information that made some action.
-
-
Constructor Summary
Constructors Constructor Description UserInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
email()
Get the email property: The email of the user.String
name()
Get the name property: The name of the user.UUID
objectId()
Get the objectId property: The object id of the user.void
validate()
Validates the instance.UserInfo
withObjectId(UUID objectId)
Set the objectId property: The object id of the user.
-
-
-
Method Detail
-
email
public String email()
Get the email property: The email of the user.- Returns:
- the email value.
-
name
public String name()
Get the name property: The name of the user.- Returns:
- the name value.
-
objectId
public UUID objectId()
Get the objectId property: The object id of the user.- Returns:
- the objectId value.
-
withObjectId
public UserInfo withObjectId(UUID objectId)
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.
-
-