ConfigurationServiceSettings Class

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

Implements

public final class ConfigurationServiceSettings
implements JsonSerializable<ConfigurationServiceSettings>

The settings of Application Configuration Service.

Constructor Summary

Constructor Description
ConfigurationServiceSettings()

Creates an instance of ConfigurationServiceSettings class.

Method Summary

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

Reads an instance of ConfigurationServiceSettings from the JsonReader.

ConfigurationServiceGitProperty gitProperty()

Get the gitProperty property: Property of git environment.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ConfigurationServiceSettings withGitProperty(ConfigurationServiceGitProperty gitProperty)

Set the gitProperty property: Property of git environment.

Methods inherited from java.lang.Object

Constructor Details

ConfigurationServiceSettings

public ConfigurationServiceSettings()

Creates an instance of ConfigurationServiceSettings class.

Method Details

fromJson

public static ConfigurationServiceSettings fromJson(JsonReader jsonReader)

Reads an instance of ConfigurationServiceSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

gitProperty

public ConfigurationServiceGitProperty 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 ConfigurationServiceSettings withGitProperty(ConfigurationServiceGitProperty gitProperty)

Set the gitProperty property: Property of git environment.

Parameters:

gitProperty - the gitProperty value to set.

Returns:

the ConfigurationServiceSettings object itself.

Applies to