LinkedDatabase Class
- java.
lang. Object - com.
azure. resourcemanager. redisenterprise. models. LinkedDatabase
- com.
Implements
public final class LinkedDatabase
implements JsonSerializable<LinkedDatabase>
Linked Database Specifies details of a linked database resource.
Constructor Summary
| Constructor | Description |
|---|---|
| LinkedDatabase() |
Creates an instance of Linked |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Linked |
fromJson(JsonReader jsonReader)
Reads an instance of Linked |
| String |
id()
Get the id property: Resource ID of a database resource to link with this database. |
|
Link |
state()
Get the state property: State of the link between the database resources. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Linked |
withId(String id)
Set the id property: Resource ID of a database resource to link with this database. |
Methods inherited from java.lang.Object
Constructor Details
LinkedDatabase
public LinkedDatabase()
Creates an instance of LinkedDatabase class.
Method Details
fromJson
public static LinkedDatabase fromJson(JsonReader jsonReader)
Reads an instance of LinkedDatabase from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID of a database resource to link with this database.
Returns:
state
public LinkState state()
Get the state property: State of the link between the database resources.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public LinkedDatabase withId(String id)
Set the id property: Resource ID of a database resource to link with this database.
Parameters:
Returns: