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

    • EyesOn

      public EyesOn()
  • Method Details

    • withEtag

      public EyesOn 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.