ConfigurationServiceInstance Class

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

Implements

public final class ConfigurationServiceInstance
implements JsonSerializable<ConfigurationServiceInstance>

Collection of instances belong to the Application Configuration Service.

Constructor Summary

Constructor Description
ConfigurationServiceInstance()

Creates an instance of ConfigurationServiceInstance class.

Method Summary

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

Reads an instance of ConfigurationServiceInstance from the JsonReader.

String name()

Get the name property: Name of the Application Configuration Service instance.

String status()

Get the status property: Status of the Application Configuration Service instance.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ConfigurationServiceInstance

public ConfigurationServiceInstance()

Creates an instance of ConfigurationServiceInstance class.

Method Details

fromJson

public static ConfigurationServiceInstance fromJson(JsonReader jsonReader)

Reads an instance of ConfigurationServiceInstance from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Name of the Application Configuration Service instance.

Returns:

the name value.

status

public String status()

Get the status property: Status of the Application Configuration Service instance.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to