java.lang.Object
com.azure.core.management.ProxyResource

public final class Anomalies extends SettingsInner
Settings with single toggle.
  • Constructor Details

    • Anomalies

      public Anomalies()
  • Method Details

    • withEtag

      public Anomalies withEtag(String etag)
      Set the etag property: Etag of the azure resource.
      Overrides:
      withEtag in class SettingsInner
      Parameters:
      etag - the etag value to set.
      Returns:
      the ResourceWithEtag object itself.
    • isEnabled

      public Boolean isEnabled()
      Get the isEnabled property: Determines whether the setting is enable or disabled.
      Returns:
      the isEnabled value.
    • validate

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