ReplicationLinkUpdateProperties Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. ReplicationLinkUpdateProperties
- com.
Implements
public final class ReplicationLinkUpdateProperties
implements JsonSerializable<ReplicationLinkUpdateProperties>
Properties of a replication link update.
Constructor Summary
| Constructor | Description |
|---|---|
| ReplicationLinkUpdateProperties() |
Creates an instance of Replication |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Replication |
fromJson(JsonReader jsonReader)
Reads an instance of Replication |
|
Replication |
linkType()
Get the link |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Replication |
withLinkType(ReplicationLinkType linkType)
Set the link |
Methods inherited from java.lang.Object
Constructor Details
ReplicationLinkUpdateProperties
public ReplicationLinkUpdateProperties()
Creates an instance of ReplicationLinkUpdateProperties class.
Method Details
fromJson
public static ReplicationLinkUpdateProperties fromJson(JsonReader jsonReader)
Reads an instance of ReplicationLinkUpdateProperties from the JsonReader.
Parameters:
Returns:
Throws:
linkType
public ReplicationLinkType linkType()
Get the linkType property: Link type (GEO, NAMED, STANDBY). Update operation does not support NAMED.
Returns:
toJson
validate
public void validate()
Validates the instance.
withLinkType
public ReplicationLinkUpdateProperties withLinkType(ReplicationLinkType linkType)
Set the linkType property: Link type (GEO, NAMED, STANDBY). Update operation does not support NAMED.
Parameters:
Returns: