Class DiagnosticSettingsCategory
java.lang.Object
com.azure.resourcemanager.monitor.fluent.models.DiagnosticSettingsCategory
The diagnostic settings Category.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DiagnosticSettingsCategory class. -
Method Summary
Modifier and TypeMethodDescriptionGet the categoryGroups property: the collection of what category groups are supported.Get the categoryType property: The type of the diagnostic settings category.voidvalidate()Validates the instance.withCategoryGroups(List<String> categoryGroups) Set the categoryGroups property: the collection of what category groups are supported.withCategoryType(CategoryType categoryType) Set the categoryType property: The type of the diagnostic settings category.
-
Constructor Details
-
DiagnosticSettingsCategory
public DiagnosticSettingsCategory()Creates an instance of DiagnosticSettingsCategory class.
-
-
Method Details
-
categoryType
Get the categoryType property: The type of the diagnostic settings category.- Returns:
- the categoryType value.
-
withCategoryType
Set the categoryType property: The type of the diagnostic settings category.- Parameters:
categoryType- the categoryType value to set.- Returns:
- the DiagnosticSettingsCategory object itself.
-
categoryGroups
Get the categoryGroups property: the collection of what category groups are supported.- Returns:
- the categoryGroups value.
-
withCategoryGroups
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.
-