Class EnabledConfig
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.EnabledConfig
-
public final class EnabledConfig extends Object
Enabled configuration.
-
-
Constructor Summary
Constructors Constructor Description EnabledConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanenabled()Get the enabled property: True if configuration is enabled, false if it is disabled and null if configuration is not set.voidvalidate()Validates the instance.EnabledConfigwithEnabled(Boolean enabled)Set the enabled property: True if configuration is enabled, false if it is disabled and null if configuration is not set.
-
-
-
Method Detail
-
enabled
public Boolean enabled()
Get the enabled property: True if configuration is enabled, false if it is disabled and null if configuration is not set.- Returns:
- the enabled value.
-
withEnabled
public EnabledConfig withEnabled(Boolean enabled)
Set the enabled property: True if configuration is enabled, false if it is disabled and null if configuration is not set.- Parameters:
enabled- the enabled value to set.- Returns:
- the EnabledConfig object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-