ResourceLogConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.signalr.models.ResourceLogConfiguration

Implements

public final class ResourceLogConfiguration
implements JsonSerializable<ResourceLogConfiguration>

Resource log configuration of a Microsoft.SignalRService resource.

Constructor Summary

Constructor Description
ResourceLogConfiguration()

Creates an instance of ResourceLogConfiguration class.

Method Summary

Modifier and Type Method and Description
List<ResourceLogCategory> categories()

Get the categories property: Gets or sets the list of category configurations.

static ResourceLogConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ResourceLogConfiguration from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ResourceLogConfiguration withCategories(List<ResourceLogCategory> categories)

Set the categories property: Gets or sets the list of category configurations.

Methods inherited from java.lang.Object

Constructor Details

ResourceLogConfiguration

public ResourceLogConfiguration()

Creates an instance of ResourceLogConfiguration class.

Method Details

categories

public List<ResourceLogCategory> categories()

Get the categories property: Gets or sets the list of category configurations.

Returns:

the categories value.

fromJson

public static ResourceLogConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ResourceLogConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the ResourceLogConfiguration.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCategories

public ResourceLogConfiguration withCategories(List<ResourceLogCategory> categories)

Set the categories property: Gets or sets the list of category configurations.

Parameters:

categories - the categories value to set.

Returns:

the ResourceLogConfiguration object itself.

Applies to