EnabledConfig Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. EnabledConfig
- com.
Implements
public final class EnabledConfig
implements JsonSerializable<EnabledConfig>
Enabled configuration.
Constructor Summary
Constructor | Description |
---|---|
EnabledConfig() |
Creates an instance of Enabled |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
enabled()
Get the enabled property: True if configuration is enabled, false if it is disabled and null if configuration is not set. |
static
Enabled |
fromJson(JsonReader jsonReader)
Reads an instance of Enabled |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Enabled |
withEnabled(Boolean enabled)
Set the enabled property: True if configuration is enabled, false if it is disabled and null if configuration is not set. |
Methods inherited from java.lang.Object
Constructor Details
EnabledConfig
public EnabledConfig()
Creates an instance of EnabledConfig class.
Method Details
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:
fromJson
public static EnabledConfig fromJson(JsonReader jsonReader)
Reads an instance of EnabledConfig from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
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:
Returns:
Applies to
Azure SDK for Java