Class IncidentOwnerInfo
java.lang.Object
com.azure.resourcemanager.securityinsights.models.IncidentOwnerInfo
Information on the user an incident is assigned to.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the assignedTo property: The name of the user the incident is assigned to.email()
Get the email property: The email of the user the incident is assigned to.objectId()
Get the objectId property: The object id of the user the incident is assigned to.Get the ownerType property: The type of the owner the incident is assigned to.Get the userPrincipalName property: The user principal name of the user the incident is assigned to.void
validate()
Validates the instance.withAssignedTo
(String assignedTo) Set the assignedTo property: The name of the user the incident is assigned to.Set the email property: The email of the user the incident is assigned to.withObjectId
(UUID objectId) Set the objectId property: The object id of the user the incident is assigned to.withOwnerType
(OwnerType ownerType) Set the ownerType property: The type of the owner the incident is assigned to.withUserPrincipalName
(String userPrincipalName) Set the userPrincipalName property: The user principal name of the user the incident is assigned to.
-
Constructor Details
-
IncidentOwnerInfo
public IncidentOwnerInfo()
-
-
Method Details
-
email
Get the email property: The email of the user the incident is assigned to.- Returns:
- the email value.
-
withEmail
Set the email property: The email of the user the incident is assigned to.- Parameters:
email
- the email value to set.- Returns:
- the IncidentOwnerInfo object itself.
-
assignedTo
Get the assignedTo property: The name of the user the incident is assigned to.- Returns:
- the assignedTo value.
-
withAssignedTo
Set the assignedTo property: The name of the user the incident is assigned to.- Parameters:
assignedTo
- the assignedTo value to set.- Returns:
- the IncidentOwnerInfo object itself.
-
objectId
Get the objectId property: The object id of the user the incident is assigned to.- Returns:
- the objectId value.
-
withObjectId
Set the objectId property: The object id of the user the incident is assigned to.- Parameters:
objectId
- the objectId value to set.- Returns:
- the IncidentOwnerInfo object itself.
-
userPrincipalName
Get the userPrincipalName property: The user principal name of the user the incident is assigned to.- Returns:
- the userPrincipalName value.
-
withUserPrincipalName
Set the userPrincipalName property: The user principal name of the user the incident is assigned to.- Parameters:
userPrincipalName
- the userPrincipalName value to set.- Returns:
- the IncidentOwnerInfo object itself.
-
ownerType
Get the ownerType property: The type of the owner the incident is assigned to.- Returns:
- the ownerType value.
-
withOwnerType
Set the ownerType property: The type of the owner the incident is assigned to.- Parameters:
ownerType
- the ownerType value to set.- Returns:
- the IncidentOwnerInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-