Class ConfigurationProperties
java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.fluent.models.ConfigurationProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ConfigurationProperties>
public final class ConfigurationProperties
extends Object
implements com.azure.json.JsonSerializable<ConfigurationProperties>
Properties of a configuration (also known as server parameter).
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ConfigurationProperties class. -
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 ConfigurationPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ConfigurationProperties from the JsonReader.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).source()Get the source property: Source of the value assigned to the configuration (also known as server parameter).com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) 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
-
ConfigurationProperties
public ConfigurationProperties()Creates an instance of ConfigurationProperties class.
-
-
Method Details
-
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 ConfigurationProperties 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 ConfigurationProperties 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<ConfigurationProperties>- Throws:
IOException
-
fromJson
public static ConfigurationProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ConfigurationProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ConfigurationProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ConfigurationProperties.
-