Class DetectorDefinitionResourceInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.DetectorDefinitionResourceInner

public final class DetectorDefinitionResourceInner extends ProxyOnlyResource
ARM resource for a detector definition.
  • Constructor Details

    • DetectorDefinitionResourceInner

      public DetectorDefinitionResourceInner()
  • Method Details

    • withKind

      public DetectorDefinitionResourceInner withKind(String kind)
      Set the kind property: Kind of resource.
      Overrides:
      withKind in class ProxyOnlyResource
      Parameters:
      kind - the kind value to set.
      Returns:
      the ProxyOnlyResource object itself.
    • displayName

      public String displayName()
      Get the displayName property: Display name of the detector.
      Returns:
      the displayName value.
    • description

      public String description()
      Get the description property: Description of the detector.
      Returns:
      the description value.
    • rank

      public Double rank()
      Get the rank property: Detector Rank.
      Returns:
      the rank value.
    • isEnabled

      public Boolean isEnabled()
      Get the isEnabled property: Flag representing whether detector is enabled or not.
      Returns:
      the isEnabled value.
    • validate

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