ReplicationLinkProperties Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. ReplicationLinkProperties
- com.
Implements
public final class ReplicationLinkProperties
implements JsonSerializable<ReplicationLinkProperties>
Properties of a replication link.
Constructor Summary
| Constructor | Description |
|---|---|
| ReplicationLinkProperties() |
Creates an instance of Replication |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Replication |
fromJson(JsonReader jsonReader)
Reads an instance of Replication |
| Boolean |
isTerminationAllowed()
Get the is |
|
Replication |
linkType()
Get the link |
| String |
partnerDatabase()
Get the partner |
| String |
partnerLocation()
Get the partner |
|
Replication |
partnerRole()
Get the partner |
| String |
partnerServer()
Get the partner |
| Integer |
percentComplete()
Get the percent |
| String |
replicationMode()
Get the replication |
|
Replication |
replicationState()
Get the replication |
|
Replication |
role()
Get the role property: Local replication role. |
|
Offset |
startTime()
Get the start |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
ReplicationLinkProperties
public ReplicationLinkProperties()
Creates an instance of ReplicationLinkProperties class.
Method Details
fromJson
public static ReplicationLinkProperties fromJson(JsonReader jsonReader)
Reads an instance of ReplicationLinkProperties from the JsonReader.
Parameters:
Returns:
Throws:
isTerminationAllowed
public Boolean isTerminationAllowed()
Get the isTerminationAllowed property: Whether the user is currently allowed to terminate the link.
Returns:
linkType
public ReplicationLinkType linkType()
Get the linkType property: Link type (GEO, NAMED, STANDBY).
Returns:
partnerDatabase
public String partnerDatabase()
Get the partnerDatabase property: Resource partner database.
Returns:
partnerLocation
public String partnerLocation()
Get the partnerLocation property: Resource partner location.
Returns:
partnerRole
public ReplicationRole partnerRole()
Get the partnerRole property: Partner replication role.
Returns:
partnerServer
public String partnerServer()
Get the partnerServer property: Resource partner server.
Returns:
percentComplete
public Integer percentComplete()
Get the percentComplete property: Seeding completion percentage for the link.
Returns:
replicationMode
public String replicationMode()
Get the replicationMode property: Replication mode.
Returns:
replicationState
public ReplicationState replicationState()
Get the replicationState property: Replication state (PENDING, SEEDING, CATCHUP, SUSPENDED).
Returns:
role
public ReplicationRole role()
Get the role property: Local replication role.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: Time at which the link was created.
Returns:
toJson
validate
public void validate()
Validates the instance.