DiagnosticSettingsCategoryResourceInner Class

public final class DiagnosticSettingsCategoryResourceInner
extends ProxyResource

The diagnostic settings category resource.

Constructor Summary

Constructor Description
DiagnosticSettingsCategoryResourceInner()

Creates an instance of DiagnosticSettingsCategoryResourceInner class.

Method Summary

Modifier and Type Method and Description
List<String> categoryGroups()

Get the categoryGroups property: the collection of what category groups are supported.

CategoryType categoryType()

Get the categoryType property: The type of the diagnostic settings category.

static DiagnosticSettingsCategoryResourceInner fromJson(JsonReader jsonReader)

Reads an instance of DiagnosticSettingsCategoryResourceInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

SystemData systemData()

Get the systemData property: The system metadata related to this resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

DiagnosticSettingsCategoryResourceInner withCategoryGroups(List<String> categoryGroups)

Set the categoryGroups property: the collection of what category groups are supported.

DiagnosticSettingsCategoryResourceInner withCategoryType(CategoryType categoryType)

Set the categoryType property: The type of the diagnostic settings 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 categoryGroups()

Get the categoryGroups property: the collection of what category groups are supported.

Returns:

the categoryGroups value.

categoryType

public CategoryType categoryType()

Get the categoryType property: The type of the diagnostic settings category.

Returns:

the categoryType value.

fromJson

public static DiagnosticSettingsCategoryResourceInner fromJson(JsonReader jsonReader)

Reads an instance of DiagnosticSettingsCategoryResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DiagnosticSettingsCategoryResourceInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

DiagnosticSettingsCategoryResourceInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DiagnosticSettingsCategoryResourceInner.name()

Returns:

the name value.

systemData

public SystemData systemData()

Get the systemData property: The system metadata related to this resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DiagnosticSettingsCategoryResourceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DiagnosticSettingsCategoryResourceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withCategoryGroups

public DiagnosticSettingsCategoryResourceInner withCategoryGroups(List categoryGroups)

Set the categoryGroups property: the collection of what category groups are supported.

Parameters:

categoryGroups - the categoryGroups value to set.

Returns:

the DiagnosticSettingsCategoryResourceInner object itself.

withCategoryType

public DiagnosticSettingsCategoryResourceInner withCategoryType(CategoryType categoryType)

Set the categoryType property: The type of the diagnostic settings category.

Parameters:

categoryType - the categoryType value to set.

Returns:

the DiagnosticSettingsCategoryResourceInner object itself.

Applies to