ReplicationLinkInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. ReplicationLinkInner
- com.
- com.
public final class ReplicationLinkInner
extends ProxyResource
A replication link.
Constructor Summary
Constructor | Description |
---|---|
ReplicationLinkInner() |
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. |
Boolean |
isTerminationAllowed()
Get the is |
Replication |
linkType()
Get the link |
String |
name()
Get the name property: The name of the resource. |
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) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ReplicationLinkInner
public ReplicationLinkInner()
Creates an instance of ReplicationLinkInner class.
Method Details
fromJson
public static ReplicationLinkInner fromJson(JsonReader jsonReader)
Reads an instance of ReplicationLinkInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ReplicationLinkInner.id()Returns:
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:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ReplicationLinkInner.name()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
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ReplicationLinkInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ReplicationLinkInner.type()Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java