Class LogSpecification

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

public final class LogSpecification extends Object
Specifications of the Log for Azure Monitoring.
  • Constructor Details

    • LogSpecification

      public LogSpecification()
  • Method Details

    • name

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

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

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

      public LogSpecification withDisplayName(String displayName)
      Set the displayName property: Localized friendly display 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 of the log.
      Returns:
      the blobDuration value.
    • withBlobDuration

      public LogSpecification withBlobDuration(String blobDuration)
      Set the blobDuration property: Blob duration of the log.
      Parameters:
      blobDuration - the blobDuration value to set.
      Returns:
      the LogSpecification object itself.
    • validate

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