RedisLinkedServer Class
- java.
lang. Object - com.
azure. resourcemanager. redis. models. RedisLinkedServer
- com.
Implements
public final class RedisLinkedServer
implements JsonSerializable<RedisLinkedServer>
Linked server Id.
Constructor Summary
Constructor | Description |
---|---|
RedisLinkedServer() |
Creates an instance of Redis |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Redis |
fromJson(JsonReader jsonReader)
Reads an instance of Redis |
String |
id()
Get the id property: Linked server Id. |
Json |
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:
- If an error occurs while reading the RedisLinkedServer.
id
public String id()
Get the id property: Linked server Id.
Returns:
the id value.
toJson
validate
public void validate()
Validates the instance.