ConfigServerProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.ConfigServerProperties

Implements

public final class ConfigServerProperties
implements JsonSerializable<ConfigServerProperties>

Config server git properties payload.

Constructor Summary

Constructor Description
ConfigServerProperties()

Creates an instance of ConfigServerProperties class.

Method Summary

Modifier and Type Method and Description
ConfigServerSettings configServer()

Get the configServer property: Settings of config server.

Error error()

Get the error property: Error when apply config server settings.

static ConfigServerProperties fromJson(JsonReader jsonReader)

Reads an instance of ConfigServerProperties from the JsonReader.

ConfigServerState provisioningState()

Get the provisioningState property: State of the config server.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ConfigServerProperties withConfigServer(ConfigServerSettings configServer)

Set the configServer property: Settings of config server.

ConfigServerProperties 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:

the configServer value.

error

public Error error()

Get the error property: Error when apply config server settings.

Returns:

the error value.

fromJson

public static ConfigServerProperties fromJson(JsonReader jsonReader)

Reads an instance of ConfigServerProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ConfigServerProperties 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 ConfigServerProperties.

provisioningState

public ConfigServerState provisioningState()

Get the provisioningState property: State of the config server.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

Applies to