Class DiagnosticSettingsCategory

java.lang.Object
com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettingsCategory

public final class DiagnosticSettingsCategory extends Object
The diagnostic settings Category.
  • Constructor Details

    • DiagnosticSettingsCategory

      public DiagnosticSettingsCategory()
      Creates an instance of DiagnosticSettingsCategory class.
  • Method Details

    • categoryType

      public CategoryType categoryType()
      Get the categoryType property: The type of the diagnostic settings category.
      Returns:
      the categoryType value.
    • withCategoryType

      public DiagnosticSettingsCategory withCategoryType(CategoryType categoryType)
      Set the categoryType property: The type of the diagnostic settings category.
      Parameters:
      categoryType - the categoryType value to set.
      Returns:
      the DiagnosticSettingsCategory object itself.
    • categoryGroups

      public List<String> categoryGroups()
      Get the categoryGroups property: the collection of what category groups are supported.
      Returns:
      the categoryGroups value.
    • withCategoryGroups

      public DiagnosticSettingsCategory withCategoryGroups(List<String> categoryGroups)
      Set the categoryGroups property: the collection of what category groups are supported.
      Parameters:
      categoryGroups - the categoryGroups value to set.
      Returns:
      the DiagnosticSettingsCategory object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.