ConfigServerProperties Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. ConfigServerProperties
- com.
Implements
public final class ConfigServerProperties
implements JsonSerializable<ConfigServerProperties>
Config server git properties payload.
Constructor Summary
Constructor | Description |
---|---|
ConfigServerProperties() |
Creates an instance of Config |
Method Summary
Modifier and Type | Method and Description |
---|---|
Config |
configServer()
Get the config |
Error |
error()
Get the error property: Error when apply config server settings. |
static
Config |
fromJson(JsonReader jsonReader)
Reads an instance of Config |
Config |
provisioningState()
Get the provisioning |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Config |
withConfigServer(ConfigServerSettings configServer)
Set the config |
Config |
withError(Error error)
Set the error property: Error when apply config server settings. |
Methods inherited from java.lang.Object
Constructor Details
ConfigServerProperties
public ConfigServerProperties()
Creates an instance of ConfigServerProperties class.
Method Details
configServer
public ConfigServerSettings configServer()
Get the configServer property: Settings of config server.
Returns:
error
public Error error()
Get the error property: Error when apply config server settings.
Returns:
fromJson
public static ConfigServerProperties fromJson(JsonReader jsonReader)
Reads an instance of ConfigServerProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public ConfigServerState provisioningState()
Get the provisioningState property: State of the config server.
Returns:
toJson
validate
public void validate()
Validates the instance.
withConfigServer
public ConfigServerProperties withConfigServer(ConfigServerSettings configServer)
Set the configServer property: Settings of config server.
Parameters:
Returns:
withError
public ConfigServerProperties withError(Error error)
Set the error property: Error when apply config server settings.
Parameters:
Returns:
Applies to
Azure SDK for Java