Class LogSpecification

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

public final class LogSpecification extends Object
Log specification for exposing diagnostic logs to shoebox.
  • Constructor Details

    • LogSpecification

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

    • name

      public String name()
      Get the name property: Name of the log.
      Returns:
      the name value.
    • displayName

      public String displayName()
      Get the displayName property: Localizable name of the log.
      Returns:
      the displayName value.
    • withDisplayName

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

      public String blobDuration()
      Get the blobDuration property: Blob duration for the log.
      Returns:
      the blobDuration value.
    • validate

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