Class LogSpecification

java.lang.Object
com.azure.resourcemanager.appservice.models.LogSpecification

public final class LogSpecification extends Object
Log Definition of a single resource metric.
  • Constructor Details

    • LogSpecification

      public LogSpecification()
  • Method Details

    • name

      public String name()
      Get the name property: The name property.
      Returns:
      the name value.
    • withName

      public LogSpecification withName(String name)
      Set the name property: The name property.
      Parameters:
      name - the name value to set.
      Returns:
      the LogSpecification object itself.
    • displayName

      public String displayName()
      Get the displayName property: The displayName property.
      Returns:
      the displayName value.
    • withDisplayName

      public LogSpecification withDisplayName(String displayName)
      Set the displayName property: The displayName property.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the LogSpecification object itself.
    • blobDuration

      public String blobDuration()
      Get the blobDuration property: The blobDuration property.
      Returns:
      the blobDuration value.
    • withBlobDuration

      public LogSpecification withBlobDuration(String blobDuration)
      Set the blobDuration property: The blobDuration property.
      Parameters:
      blobDuration - the blobDuration value to set.
      Returns:
      the LogSpecification object itself.
    • logFilterPattern

      public String logFilterPattern()
      Get the logFilterPattern property: The logFilterPattern property.
      Returns:
      the logFilterPattern value.
    • withLogFilterPattern

      public LogSpecification withLogFilterPattern(String logFilterPattern)
      Set the logFilterPattern property: The logFilterPattern property.
      Parameters:
      logFilterPattern - the logFilterPattern value to set.
      Returns:
      the LogSpecification object itself.
    • validate

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