Compartilhar via


ServiceRegistryInstance Class

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

Implements

public final class ServiceRegistryInstance
implements JsonSerializable<ServiceRegistryInstance>

Collection of instances belong to the Service Registry.

Constructor Summary

Constructor Description
ServiceRegistryInstance()

Creates an instance of ServiceRegistryInstance class.

Method Summary

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

Reads an instance of ServiceRegistryInstance from the JsonReader.

String name()

Get the name property: Name of the Service Registry instance.

String status()

Get the status property: Status of the Service Registry instance.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ServiceRegistryInstance

public ServiceRegistryInstance()

Creates an instance of ServiceRegistryInstance class.

Method Details

fromJson

public static ServiceRegistryInstance fromJson(JsonReader jsonReader)

Reads an instance of ServiceRegistryInstance from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Name of the Service Registry instance.

Returns:

the name value.

status

public String status()

Get the status property: Status of the Service Registry instance.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to