ServerEndpointSyncSessionStatus Class

  • java.lang.Object
    • com.azure.resourcemanager.storagesync.models.ServerEndpointSyncSessionStatus

Implements

public final class ServerEndpointSyncSessionStatus
implements JsonSerializable<ServerEndpointSyncSessionStatus>

Sync Session status object.

Method Summary

Modifier and Type Method and Description
List<ServerEndpointFilesNotSyncingError> filesNotSyncingErrors()

Get the filesNotSyncingErrors property: Array of per-item errors coming from the last sync session.

static ServerEndpointSyncSessionStatus fromJson(JsonReader jsonReader)

Reads an instance of ServerEndpointSyncSessionStatus from the JsonReader.

ServerEndpointSyncMode lastSyncMode()

Get the lastSyncMode property: Sync mode.

Long lastSyncPerItemErrorCount()

Get the lastSyncPerItemErrorCount property: Last sync per item error count.

Integer lastSyncResult()

Get the lastSyncResult property: Last sync result (HResult).

OffsetDateTime lastSyncSuccessTimestamp()

Get the lastSyncSuccessTimestamp property: Last sync success timestamp.

OffsetDateTime lastSyncTimestamp()

Get the lastSyncTimestamp property: Last sync timestamp.

Long persistentFilesNotSyncingCount()

Get the persistentFilesNotSyncingCount property: Count of persistent files not syncing.

JsonWriter toJson(JsonWriter jsonWriter)
Long transientFilesNotSyncingCount()

Get the transientFilesNotSyncingCount property: Count of transient files not syncing.

Methods inherited from java.lang.Object

Method Details

filesNotSyncingErrors

public List<ServerEndpointFilesNotSyncingError> filesNotSyncingErrors()

Get the filesNotSyncingErrors property: Array of per-item errors coming from the last sync session.

Returns:

the filesNotSyncingErrors value.

fromJson

public static ServerEndpointSyncSessionStatus fromJson(JsonReader jsonReader)

Reads an instance of ServerEndpointSyncSessionStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ServerEndpointSyncSessionStatus if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ServerEndpointSyncSessionStatus.

lastSyncMode

public ServerEndpointSyncMode lastSyncMode()

Get the lastSyncMode property: Sync mode.

Returns:

the lastSyncMode value.

lastSyncPerItemErrorCount

public Long lastSyncPerItemErrorCount()

Get the lastSyncPerItemErrorCount property: Last sync per item error count.

Returns:

the lastSyncPerItemErrorCount value.

lastSyncResult

public Integer lastSyncResult()

Get the lastSyncResult property: Last sync result (HResult).

Returns:

the lastSyncResult value.

lastSyncSuccessTimestamp

public OffsetDateTime lastSyncSuccessTimestamp()

Get the lastSyncSuccessTimestamp property: Last sync success timestamp.

Returns:

the lastSyncSuccessTimestamp value.

lastSyncTimestamp

public OffsetDateTime lastSyncTimestamp()

Get the lastSyncTimestamp property: Last sync timestamp.

Returns:

the lastSyncTimestamp value.

persistentFilesNotSyncingCount

public Long persistentFilesNotSyncingCount()

Get the persistentFilesNotSyncingCount property: Count of persistent files not syncing.

Returns:

the persistentFilesNotSyncingCount value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

transientFilesNotSyncingCount

public Long transientFilesNotSyncingCount()

Get the transientFilesNotSyncingCount property: Count of transient files not syncing.

Returns:

the transientFilesNotSyncingCount value.

Applies to