Class LiveTraceConfiguration

java.lang.Object
com.azure.resourcemanager.webpubsub.models.LiveTraceConfiguration

public final class LiveTraceConfiguration extends Object
Live trace configuration of a Microsoft.SignalRService resource.
  • Constructor Details

    • LiveTraceConfiguration

      public LiveTraceConfiguration()
      Creates an instance of LiveTraceConfiguration class.
  • Method Details

    • enabled

      public String enabled()
      Get the enabled property: Indicates whether or not enable live trace. When it's set to true, live trace client can connect to the service. Otherwise, live trace client can't connect to the service, so that you are unable to receive any log, no matter what you configure in "categories". Available values: true, false. Case insensitive.
      Returns:
      the enabled value.
    • withEnabled

      public LiveTraceConfiguration withEnabled(String enabled)
      Set the enabled property: Indicates whether or not enable live trace. When it's set to true, live trace client can connect to the service. Otherwise, live trace client can't connect to the service, so that you are unable to receive any log, no matter what you configure in "categories". Available values: true, false. Case insensitive.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the LiveTraceConfiguration object itself.
    • categories

      public List<LiveTraceCategory> categories()
      Get the categories property: Gets or sets the list of category configurations.
      Returns:
      the categories value.
    • withCategories

      public LiveTraceConfiguration withCategories(List<LiveTraceCategory> categories)
      Set the categories property: Gets or sets the list of category configurations.
      Parameters:
      categories - the categories value to set.
      Returns:
      the LiveTraceConfiguration object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.