DiagnosticSettingsCategoryResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. monitor. fluent. models. DiagnosticSettingsCategoryResourceInner
- com.
- com.
public final class DiagnosticSettingsCategoryResourceInner
extends ProxyResource
The diagnostic settings category resource.
Constructor Summary
Constructor | Description |
---|---|
DiagnosticSettingsCategoryResourceInner() |
Creates an instance of Diagnostic |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
categoryGroups()
Get the category |
Category |
categoryType()
Get the category |
static
Diagnostic |
fromJson(JsonReader jsonReader)
Reads an instance of Diagnostic |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Diagnostic |
withCategoryGroups(List<String> categoryGroups)
Set the category |
Diagnostic |
withCategoryType(CategoryType categoryType)
Set the category |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
DiagnosticSettingsCategoryResourceInner
public DiagnosticSettingsCategoryResourceInner()
Creates an instance of DiagnosticSettingsCategoryResourceInner class.
Method Details
categoryGroups
public List
Get the categoryGroups property: the collection of what category groups are supported.
Returns:
categoryType
public CategoryType categoryType()
Get the categoryType property: The type of the diagnostic settings category.
Returns:
fromJson
public static DiagnosticSettingsCategoryResourceInner fromJson(JsonReader jsonReader)
Reads an instance of DiagnosticSettingsCategoryResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DiagnosticSettingsCategoryResourceInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DiagnosticSettingsCategoryResourceInner.name()Returns:
systemData
public SystemData systemData()
Get the systemData property: The system metadata related to this resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DiagnosticSettingsCategoryResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DiagnosticSettingsCategoryResourceInner.type()Returns:
validate
public void validate()
Validates the instance.
withCategoryGroups
public DiagnosticSettingsCategoryResourceInner withCategoryGroups(List
Set the categoryGroups property: the collection of what category groups are supported.
Parameters:
Returns:
withCategoryType
public DiagnosticSettingsCategoryResourceInner withCategoryType(CategoryType categoryType)
Set the categoryType property: The type of the diagnostic settings category.
Parameters:
Returns:
Applies to
Azure SDK for Java