RedisLinkedServer Class

  • java.lang.Object
    • com.azure.resourcemanager.redis.models.RedisLinkedServer

Implements

public final class RedisLinkedServer
implements JsonSerializable<RedisLinkedServer>

Linked server Id.

Constructor Summary

Constructor Description
RedisLinkedServer()

Creates an instance of RedisLinkedServer class.

Method Summary

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

Reads an instance of RedisLinkedServer from the JsonReader.

String id()

Get the id property: Linked server Id.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

RedisLinkedServer

public RedisLinkedServer()

Creates an instance of RedisLinkedServer class.

Method Details

fromJson

public static RedisLinkedServer fromJson(JsonReader jsonReader)

Reads an instance of RedisLinkedServer from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Linked server Id.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to