java.lang.Object
com.azure.resourcemanager.securityinsights.models.IncidentLabel

public final class IncidentLabel extends Object
Represents an incident label.
  • Constructor Details

    • IncidentLabel

      public IncidentLabel()
  • Method Details

    • 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.