Class ConfigServerProperties
- java.lang.Object
-
- com.azure.resourcemanager.appplatform.models.ConfigServerProperties
-
public final class ConfigServerProperties extends Object
Config server git properties payload.
-
-
Constructor Summary
Constructors Constructor Description ConfigServerProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigServerSettingsconfigServer()Get the configServer property: Settings of config server.Errorerror()Get the error property: Error when apply config server settings.ConfigServerStateprovisioningState()Get the provisioningState property: State of the config server.voidvalidate()Validates the instance.ConfigServerPropertieswithConfigServer(ConfigServerSettings configServer)Set the configServer property: Settings of config server.ConfigServerPropertieswithError(Error error)Set the error property: Error when apply config server settings.
-
-
-
Method Detail
-
provisioningState
public ConfigServerState provisioningState()
Get the provisioningState property: State of the config server.- Returns:
- the provisioningState value.
-
error
public Error error()
Get the error property: Error when apply config server settings.- Returns:
- the error value.
-
withError
public ConfigServerProperties withError(Error error)
Set the error property: Error when apply config server settings.- Parameters:
error- the error value to set.- Returns:
- the ConfigServerProperties object itself.
-
configServer
public ConfigServerSettings configServer()
Get the configServer property: Settings of config server.- Returns:
- the configServer value.
-
withConfigServer
public ConfigServerProperties withConfigServer(ConfigServerSettings configServer)
Set the configServer property: Settings of config server.- Parameters:
configServer- the configServer value to set.- Returns:
- the ConfigServerProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-