Class LiveTraceCategory
- java.lang.Object
-
- com.azure.resourcemanager.signalr.models.LiveTraceCategory
-
public final class LiveTraceCategory extends Object
Live trace category configuration of a Microsoft.SignalRService resource.
-
-
Constructor Summary
Constructors Constructor Description LiveTraceCategory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
enabled()
Get the enabled property: Indicates whether or the live trace category is enabled.String
name()
Get the name property: Gets or sets the live trace category's name.void
validate()
Validates the instance.LiveTraceCategory
withEnabled(String enabled)
Set the enabled property: Indicates whether or the live trace category is enabled.LiveTraceCategory
withName(String name)
Set the name property: Gets or sets the live trace category's name.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Gets or sets the live trace category's name. Available values: ConnectivityLogs, MessagingLogs. Case insensitive.- Returns:
- the name value.
-
withName
public LiveTraceCategory withName(String name)
Set the name property: Gets or sets the live trace category's name. Available values: ConnectivityLogs, MessagingLogs. Case insensitive.- Parameters:
name
- the name value to set.- Returns:
- the LiveTraceCategory object itself.
-
enabled
public String enabled()
Get the enabled property: Indicates whether or the live trace category is enabled. Available values: true, false. Case insensitive.- Returns:
- the enabled value.
-
withEnabled
public LiveTraceCategory withEnabled(String enabled)
Set the enabled property: Indicates whether or the live trace category is enabled. Available values: true, false. Case insensitive.- Parameters:
enabled
- the enabled value to set.- Returns:
- the LiveTraceCategory object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-