Freigeben über


ConfigServerSettings Class

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

Implements

public final class ConfigServerSettings
implements JsonSerializable<ConfigServerSettings>

The settings of config server.

Constructor Summary

Constructor Description
ConfigServerSettings()

Creates an instance of ConfigServerSettings class.

Method Summary

Modifier and Type Method and Description
static ConfigServerSettings fromJson(JsonReader jsonReader)

Reads an instance of ConfigServerSettings from the JsonReader.

ConfigServerGitProperty gitProperty()

Get the gitProperty property: Property of git environment.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ConfigServerSettings withGitProperty(ConfigServerGitProperty gitProperty)

Set the gitProperty property: Property of git environment.

Methods inherited from java.lang.Object

Constructor Details

ConfigServerSettings

public ConfigServerSettings()

Creates an instance of ConfigServerSettings class.

Method Details

fromJson

public static ConfigServerSettings fromJson(JsonReader jsonReader)

Reads an instance of ConfigServerSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

gitProperty

public ConfigServerGitProperty gitProperty()

Get the gitProperty property: Property of git environment.

Returns:

the gitProperty value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withGitProperty

public ConfigServerSettings withGitProperty(ConfigServerGitProperty gitProperty)

Set the gitProperty property: Property of git environment.

Parameters:

gitProperty - the gitProperty value to set.

Returns:

the ConfigServerSettings object itself.

Applies to