Class ConfigurationInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.mysqlflexibleserver.fluent.models.ConfigurationInner
-
public final class ConfigurationInner extends com.azure.core.management.ProxyResource
Represents a Configuration.
-
-
Constructor Summary
Constructors Constructor Description ConfigurationInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
allowedValues()
Get the allowedValues property: Allowed values of the configuration.String
dataType()
Get the dataType property: Data type of the configuration.String
defaultValue()
Get the defaultValue property: Default value of the configuration.String
description()
Get the description property: Description of the configuration.IsConfigPendingRestart
isConfigPendingRestart()
Get the isConfigPendingRestart property: If is the configuration pending restart or not.IsDynamicConfig
isDynamicConfig()
Get the isDynamicConfig property: If is the configuration dynamic.IsReadOnly
isReadOnly()
Get the isReadOnly property: If is the configuration read only.ConfigurationSource
source()
Get the source property: Source of the configuration.com.azure.core.management.SystemData
systemData()
Get the systemData property: The system metadata relating to this resource.void
validate()
Validates the instance.String
value()
Get the value property: Value of the configuration.ConfigurationInner
withSource(ConfigurationSource source)
Set the source property: Source of the configuration.ConfigurationInner
withValue(String value)
Set the value property: Value of the configuration.
-
-
-
Method Detail
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: The system metadata relating to this resource.- Returns:
- the systemData value.
-
value
public String value()
Get the value property: Value of the configuration.- Returns:
- the value value.
-
withValue
public ConfigurationInner withValue(String value)
Set the value property: Value of the configuration.- Parameters:
value
- the value value to set.- Returns:
- the ConfigurationInner object itself.
-
description
public String description()
Get the description property: Description of the configuration.- Returns:
- the description value.
-
defaultValue
public String defaultValue()
Get the defaultValue property: Default value of the configuration.- Returns:
- the defaultValue value.
-
dataType
public String dataType()
Get the dataType property: Data type of the configuration.- Returns:
- the dataType value.
-
allowedValues
public String allowedValues()
Get the allowedValues property: Allowed values of the configuration.- Returns:
- the allowedValues value.
-
source
public ConfigurationSource source()
Get the source property: Source of the configuration.- Returns:
- the source value.
-
withSource
public ConfigurationInner withSource(ConfigurationSource source)
Set the source property: Source of the configuration.- Parameters:
source
- the source value to set.- Returns:
- the ConfigurationInner object itself.
-
isReadOnly
public IsReadOnly isReadOnly()
Get the isReadOnly property: If is the configuration read only.- Returns:
- the isReadOnly value.
-
isConfigPendingRestart
public IsConfigPendingRestart isConfigPendingRestart()
Get the isConfigPendingRestart property: If is the configuration pending restart or not.- Returns:
- the isConfigPendingRestart value.
-
isDynamicConfig
public IsDynamicConfig isDynamicConfig()
Get the isDynamicConfig property: If is the configuration dynamic.- Returns:
- the isDynamicConfig value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-