Class IncidentInfo
java.lang.Object
com.azure.resourcemanager.securityinsights.models.IncidentInfo
Describes related incident information for the bookmark.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the incidentId property: Incident Id.Get the relationName property: Relation Name.severity()
Get the severity property: The severity of the incident.title()
Get the title property: The title of the incident.void
validate()
Validates the instance.withIncidentId
(String incidentId) Set the incidentId property: Incident Id.withRelationName
(String relationName) Set the relationName property: Relation Name.withSeverity
(IncidentSeverity severity) Set the severity property: The severity of the incident.Set the title property: The title of the incident.
-
Constructor Details
-
IncidentInfo
public IncidentInfo()
-
-
Method Details
-
incidentId
Get the incidentId property: Incident Id.- Returns:
- the incidentId value.
-
withIncidentId
Set the incidentId property: Incident Id.- Parameters:
incidentId
- the incidentId value to set.- Returns:
- the IncidentInfo object itself.
-
severity
Get the severity property: The severity of the incident.- Returns:
- the severity value.
-
withSeverity
Set the severity property: The severity of the incident.- Parameters:
severity
- the severity value to set.- Returns:
- the IncidentInfo object itself.
-
title
Get the title property: The title of the incident.- Returns:
- the title value.
-
withTitle
Set the title property: The title of the incident.- Parameters:
title
- the title value to set.- Returns:
- the IncidentInfo object itself.
-
relationName
Get the relationName property: Relation Name.- Returns:
- the relationName value.
-
withRelationName
Set the relationName property: Relation Name.- Parameters:
relationName
- the relationName value to set.- Returns:
- the IncidentInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-