ResourceLogCategory Class
- java.
lang. Object - com.
azure. resourcemanager. webpubsub. models. ResourceLogCategory
- com.
Implements
public final class ResourceLogCategory
implements JsonSerializable<ResourceLogCategory>
Resource log category configuration of a Microsoft.SignalRService resource.
Constructor Summary
| Constructor | Description |
|---|---|
| ResourceLogCategory() |
Creates an instance of Resource |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
enabled()
Get the enabled property: Indicates whether or the resource log category is enabled. |
|
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
| String |
name()
Get the name property: Gets or sets the resource log category's name. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Resource |
withEnabled(String enabled)
Set the enabled property: Indicates whether or the resource log category is enabled. |
|
Resource |
withName(String name)
Set the name property: Gets or sets the resource log category's name. |
Methods inherited from java.lang.Object
Constructor Details
ResourceLogCategory
public ResourceLogCategory()
Creates an instance of ResourceLogCategory class.
Method Details
enabled
public String enabled()
Get the enabled property: Indicates whether or the resource log category is enabled. Available values: true, false. Case insensitive.
Returns:
fromJson
public static ResourceLogCategory fromJson(JsonReader jsonReader)
Reads an instance of ResourceLogCategory from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Gets or sets the resource log category's name. Available values: ConnectivityLogs, MessagingLogs. Case insensitive.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEnabled
public ResourceLogCategory withEnabled(String enabled)
Set the enabled property: Indicates whether or the resource log category is enabled. Available values: true, false. Case insensitive.
Parameters:
Returns:
withName
public ResourceLogCategory withName(String name)
Set the name property: Gets or sets the resource log category's name. Available values: ConnectivityLogs, MessagingLogs. Case insensitive.
Parameters:
Returns: