Class IncidentLabel
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.IncidentLabel
-
public final class IncidentLabel extends Object
Represents an incident label.
-
-
Constructor Summary
Constructors Constructor Description IncidentLabel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
labelName()
Get the labelName property: The name of the label.IncidentLabelType
labelType()
Get the labelType property: The type of the label.void
validate()
Validates the instance.IncidentLabel
withLabelName(String labelName)
Set the labelName property: The name of the label.
-
-
-
Method Detail
-
labelName
public String labelName()
Get the labelName property: The name of the label.- Returns:
- the labelName value.
-
withLabelName
public IncidentLabel withLabelName(String labelName)
Set the labelName property: The name of the label.- Parameters:
labelName
- the labelName value to set.- Returns:
- the IncidentLabel object itself.
-
labelType
public IncidentLabelType 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.
-
-