Class IncidentLabel
java.lang.Object
com.azure.resourcemanager.securityinsights.models.IncidentLabel
Represents an incident label.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the labelName property: The name of the label.Get the labelType property: The type of the label.void
validate()
Validates the instance.withLabelName
(String labelName) Set the labelName property: The name of the label.
-
Constructor Details
-
IncidentLabel
public IncidentLabel()
-
-
Method Details
-
labelName
Get the labelName property: The name of the label.- Returns:
- the labelName value.
-
withLabelName
Set the labelName property: The name of the label.- Parameters:
labelName
- the labelName value to set.- Returns:
- the IncidentLabel object itself.
-
labelType
Get the labelType property: The type of the label.- Returns:
- the labelType value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-