Class LogSpecification

java.lang.Object
com.azure.resourcemanager.netapp.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: Name of log specification.
      Returns:
      the name value.
    • withName

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

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

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

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