SyncAgentProperties Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. SyncAgentProperties
- com.
Implements
public final class SyncAgentProperties
implements JsonSerializable<SyncAgentProperties>
Properties of an Azure SQL Database sync agent.
Constructor Summary
| Constructor | Description |
|---|---|
| SyncAgentProperties() |
Creates an instance of Sync |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
expiryTime()
Get the expiry |
|
static
Sync |
fromJson(JsonReader jsonReader)
Reads an instance of Sync |
| Boolean |
isUpToDate()
Get the is |
|
Offset |
lastAliveTime()
Get the last |
| String |
name()
Get the name property: Name of the sync agent. |
|
Sync |
state()
Get the state property: State of the sync agent. |
| String |
syncDatabaseId()
Get the sync |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
version()
Get the version property: Version of the sync agent. |
|
Sync |
withSyncDatabaseId(String syncDatabaseId)
Set the sync |
Methods inherited from java.lang.Object
Constructor Details
SyncAgentProperties
public SyncAgentProperties()
Creates an instance of SyncAgentProperties class.
Method Details
expiryTime
public OffsetDateTime expiryTime()
Get the expiryTime property: Expiration time of the sync agent version.
Returns:
fromJson
public static SyncAgentProperties fromJson(JsonReader jsonReader)
Reads an instance of SyncAgentProperties from the JsonReader.
Parameters:
Returns:
Throws:
isUpToDate
public Boolean isUpToDate()
Get the isUpToDate property: If the sync agent version is up to date.
Returns:
lastAliveTime
public OffsetDateTime lastAliveTime()
Get the lastAliveTime property: Last alive time of the sync agent.
Returns:
name
public String name()
Get the name property: Name of the sync agent.
Returns:
state
public SyncAgentState state()
Get the state property: State of the sync agent.
Returns:
syncDatabaseId
public String syncDatabaseId()
Get the syncDatabaseId property: ARM resource id of the sync database in the sync agent.
Returns:
toJson
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: Version of the sync agent.
Returns:
withSyncDatabaseId
public SyncAgentProperties withSyncDatabaseId(String syncDatabaseId)
Set the syncDatabaseId property: ARM resource id of the sync database in the sync agent.
Parameters:
Returns: