Class ConfigurationInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.postgresqlflexibleserver.fluent.models.ConfigurationInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class ConfigurationInner
extends com.azure.core.management.ProxyResource
Configuration (also known as server parameter).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the allowedValues property: Allowed values of the configuration (also known as server parameter).dataType()Get the dataType property: Data type of the configuration (also known as server parameter).Get the defaultValue property: Value assigned by default to the configuration (also known as server parameter).Get the description property: Description of the configuration (also known as server parameter).Get the documentationLink property: Link pointing to the documentation of the configuration (also known as server parameter).static ConfigurationInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ConfigurationInner from the JsonReader.id()Get the id property: Fully qualified resource Id for the resource.Get the isConfigPendingRestart property: Indicates if the value assigned to the configuration (also known as server parameter) is pending a server restart for it to take effect.Get the isDynamicConfig property: Indicates if it's a dynamic (true) or static (false) configuration (also known as server parameter).Get the isReadOnly property: Indicates if it's a read-only (true) or modifiable (false) configuration (also known as server parameter).name()Get the name property: The name of the resource.source()Get the source property: Source of the value assigned to the configuration (also known as server parameter).com.azure.core.management.SystemDataGet the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.unit()Get the unit property: Units in which the configuration (also known as server parameter) value is expressed.voidvalidate()Validates the instance.value()Get the value property: Value of the configuration (also known as server parameter).withSource(String source) Set the source property: Source of the value assigned to the configuration (also known as server parameter).Set the value property: Value of the configuration (also known as server parameter).Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ConfigurationInner
public ConfigurationInner()Creates an instance of ConfigurationInner class.
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
type
Get the type property: The type of the resource.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
value
Get the value property: Value of the configuration (also known as server parameter). Required to update the value assigned to a specific modifiable configuration.- Returns:
- the value value.
-
withValue
Set the value property: Value of the configuration (also known as server parameter). Required to update the value assigned to a specific modifiable configuration.- Parameters:
value- the value value to set.- Returns:
- the ConfigurationInner object itself.
-
description
Get the description property: Description of the configuration (also known as server parameter).- Returns:
- the description value.
-
defaultValue
Get the defaultValue property: Value assigned by default to the configuration (also known as server parameter).- Returns:
- the defaultValue value.
-
dataType
Get the dataType property: Data type of the configuration (also known as server parameter).- Returns:
- the dataType value.
-
allowedValues
Get the allowedValues property: Allowed values of the configuration (also known as server parameter).- Returns:
- the allowedValues value.
-
source
Get the source property: Source of the value assigned to the configuration (also known as server parameter). Required to update the value assigned to a specific modifiable configuration.- Returns:
- the source value.
-
withSource
Set the source property: Source of the value assigned to the configuration (also known as server parameter). Required to update the value assigned to a specific modifiable configuration.- Parameters:
source- the source value to set.- Returns:
- the ConfigurationInner object itself.
-
isDynamicConfig
Get the isDynamicConfig property: Indicates if it's a dynamic (true) or static (false) configuration (also known as server parameter). Static server parameters require a server restart after changing the value assigned to them, for the change to take effect. Dynamic server parameters do not require a server restart after changing the value assigned to them, for the change to take effect.- Returns:
- the isDynamicConfig value.
-
isReadOnly
Get the isReadOnly property: Indicates if it's a read-only (true) or modifiable (false) configuration (also known as server parameter).- Returns:
- the isReadOnly value.
-
isConfigPendingRestart
Get the isConfigPendingRestart property: Indicates if the value assigned to the configuration (also known as server parameter) is pending a server restart for it to take effect.- Returns:
- the isConfigPendingRestart value.
-
unit
Get the unit property: Units in which the configuration (also known as server parameter) value is expressed.- Returns:
- the unit value.
-
documentationLink
Get the documentationLink property: Link pointing to the documentation of the configuration (also known as server parameter).- Returns:
- the documentationLink value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classcom.azure.core.management.ProxyResource- Throws:
IOException
-
fromJson
Reads an instance of ConfigurationInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ConfigurationInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the ConfigurationInner.
-