Class EyesOn
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
-
- com.azure.resourcemanager.securityinsights.fluent.models.SettingsInner
-
- com.azure.resourcemanager.securityinsights.models.EyesOn
-
public final class EyesOn extends SettingsInner
Settings with single toggle.
-
-
Constructor Summary
Constructors Constructor Description EyesOn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
isEnabled()
Get the isEnabled property: Determines whether the setting is enable or disabled.void
validate()
Validates the instance.EyesOn
withEtag(String etag)
Set the etag property: Etag of the azure resource.-
Methods inherited from class com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
etag, systemData
-
-
-
-
Method Detail
-
withEtag
public EyesOn withEtag(String etag)
Set the etag property: Etag of the azure resource.- Overrides:
withEtag
in classSettingsInner
- 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 classSettingsInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-