Class ResourceLogCategory

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

public final class ResourceLogCategory extends Object
Resource log category configuration of a Microsoft.SignalRService resource.
  • Constructor Details

    • ResourceLogCategory

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

    • name

      public String name()
      Get the name property: Gets or sets the resource log category's name. Available values: ConnectivityLogs, MessagingLogs. Case insensitive.
      Returns:
      the name value.
    • 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:
      name - the name value to set.
      Returns:
      the ResourceLogCategory object itself.
    • enabled

      public String enabled()
      Get the enabled property: Indicates whether or the resource log category is enabled. Available values: true, false. Case insensitive.
      Returns:
      the enabled value.
    • 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:
      enabled - the enabled value to set.
      Returns:
      the ResourceLogCategory object itself.
    • validate

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