ReplicationLinkUpdate Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. models. ReplicationLinkUpdate
- com.
- com.
public final class ReplicationLinkUpdate
extends ProxyResource
A replication link update request.
Constructor Summary
| Constructor | Description |
|---|---|
| ReplicationLinkUpdate() |
Creates an instance of Replication |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Replication |
fromJson(JsonReader jsonReader)
Reads an instance of Replication |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Replication |
linkType()
Get the link |
| String |
name()
Get the name property: The name of the resource. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Replication |
withLinkType(ReplicationLinkType linkType)
Set the link |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ReplicationLinkUpdate
public ReplicationLinkUpdate()
Creates an instance of ReplicationLinkUpdate class.
Method Details
fromJson
public static ReplicationLinkUpdate fromJson(JsonReader jsonReader)
Reads an instance of ReplicationLinkUpdate from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ReplicationLinkUpdate.id()Returns:
linkType
public ReplicationLinkType linkType()
Get the linkType property: Link type (GEO, NAMED, STANDBY). Update operation does not support NAMED.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ReplicationLinkUpdate.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ReplicationLinkUpdate.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ReplicationLinkUpdate.type()Returns:
validate
public void validate()
Validates the instance.
withLinkType
public ReplicationLinkUpdate withLinkType(ReplicationLinkType linkType)
Set the linkType property: Link type (GEO, NAMED, STANDBY). Update operation does not support NAMED.
Parameters:
Returns: