Class IncidentPropertiesAction
java.lang.Object
com.azure.resourcemanager.securityinsights.models.IncidentPropertiesAction
The IncidentPropertiesAction model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the classification property: The reason the incident was closed.Get the classificationComment property: Describes the reason the incident was closed.Get the classificationReason property: The classification reason the incident was closed with.labels()
Get the labels property: List of labels to add to the incident.owner()
Get the owner property: Information on the user an incident is assigned to.severity()
Get the severity property: The severity of the incident.status()
Get the status property: The status of the incident.void
validate()
Validates the instance.withClassification
(IncidentClassification classification) Set the classification property: The reason the incident was closed.withClassificationComment
(String classificationComment) Set the classificationComment property: Describes the reason the incident was closed.withClassificationReason
(IncidentClassificationReason classificationReason) Set the classificationReason property: The classification reason the incident was closed with.withLabels
(List<IncidentLabel> labels) Set the labels property: List of labels to add to the incident.withOwner
(IncidentOwnerInfo owner) Set the owner property: Information on the user an incident is assigned to.withSeverity
(IncidentSeverity severity) Set the severity property: The severity of the incident.withStatus
(IncidentStatus status) Set the status property: The status of the incident.
-
Constructor Details
-
IncidentPropertiesAction
public IncidentPropertiesAction()
-
-
Method Details
-
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 IncidentPropertiesAction object itself.
-
status
Get the status property: The status of the incident.- Returns:
- the status value.
-
withStatus
Set the status property: The status of the incident.- Parameters:
status
- the status value to set.- Returns:
- the IncidentPropertiesAction object itself.
-
classification
Get the classification property: The reason the incident was closed.- Returns:
- the classification value.
-
withClassification
Set the classification property: The reason the incident was closed.- Parameters:
classification
- the classification value to set.- Returns:
- the IncidentPropertiesAction object itself.
-
classificationReason
Get the classificationReason property: The classification reason the incident was closed with.- Returns:
- the classificationReason value.
-
withClassificationReason
public IncidentPropertiesAction withClassificationReason(IncidentClassificationReason classificationReason) Set the classificationReason property: The classification reason the incident was closed with.- Parameters:
classificationReason
- the classificationReason value to set.- Returns:
- the IncidentPropertiesAction object itself.
-
classificationComment
Get the classificationComment property: Describes the reason the incident was closed.- Returns:
- the classificationComment value.
-
withClassificationComment
Set the classificationComment property: Describes the reason the incident was closed.- Parameters:
classificationComment
- the classificationComment value to set.- Returns:
- the IncidentPropertiesAction object itself.
-
owner
Get the owner property: Information on the user an incident is assigned to.- Returns:
- the owner value.
-
withOwner
Set the owner property: Information on the user an incident is assigned to.- Parameters:
owner
- the owner value to set.- Returns:
- the IncidentPropertiesAction object itself.
-
labels
Get the labels property: List of labels to add to the incident.- Returns:
- the labels value.
-
withLabels
Set the labels property: List of labels to add to the incident.- Parameters:
labels
- the labels value to set.- Returns:
- the IncidentPropertiesAction object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-