ServerEndpointSyncActivityStatus Class

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

Implements

public final class ServerEndpointSyncActivityStatus
implements JsonSerializable<ServerEndpointSyncActivityStatus>

Sync Session status object.

Method Summary

Modifier and Type Method and Description
Long appliedBytes()

Get the appliedBytes property: Applied bytes.

Long appliedItemCount()

Get the appliedItemCount property: Applied item count.

static ServerEndpointSyncActivityStatus fromJson(JsonReader jsonReader)

Reads an instance of ServerEndpointSyncActivityStatus from the JsonReader.

String inProgressLargeFilePath()

Get the inProgressLargeFilePath property: Path of large file currently in progress.

Integer inProgressLargeFilePercentComplete()

Get the inProgressLargeFilePercentComplete property: Percent complete (0-100) of large file currently in progress.

Long inProgressLargeFileSizeBytes()

Get the inProgressLargeFileSizeBytes property: Size in bytes of large file currently in progress.

Boolean isRemainingFinal()

Get the isRemainingFinal property: Whether the remaining counts are final.

Long perItemErrorCount()

Get the perItemErrorCount property: Per item error count.

Double recentItemsPerSecond()

Get the recentItemsPerSecond property: Recent throughput in items per second.

Double recentMegabytesPerSecond()

Get the recentMegabytesPerSecond property: Recent throughput in megabytes per second.

Long remainingDeleteCount()

Get the remainingDeleteCount property: Remaining delete count (if totals are final).

Long remainingDirectoryCount()

Get the remainingDirectoryCount property: Remaining directory count (if totals are final).

Long remainingFileCount()

Get the remainingFileCount property: Remaining file count (if totals are final).

Long remainingLogicalSizeBytes()

Get the remainingLogicalSizeBytes property: Remaining logical size in bytes (if totals are final).

Integer sessionMinutesRemaining()

Get the sessionMinutesRemaining property: Session minutes remaining (if available).

ServerEndpointSyncMode syncMode()

Get the syncMode property: Sync mode.

OffsetDateTime timestamp()

Get the timestamp property: Timestamp when properties were updated.

JsonWriter toJson(JsonWriter jsonWriter)
Long totalBytes()

Get the totalBytes property: Total bytes (if available).

Long totalItemCount()

Get the totalItemCount property: Total item count (if available).

ServerEndpointSyncSessionWarningType warning()

Get the warning property: Warning type (if any).

Methods inherited from java.lang.Object

Method Details

appliedBytes

public Long appliedBytes()

Get the appliedBytes property: Applied bytes.

Returns:

the appliedBytes value.

appliedItemCount

public Long appliedItemCount()

Get the appliedItemCount property: Applied item count.

Returns:

the appliedItemCount value.

fromJson

public static ServerEndpointSyncActivityStatus fromJson(JsonReader jsonReader)

Reads an instance of ServerEndpointSyncActivityStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ServerEndpointSyncActivityStatus 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 ServerEndpointSyncActivityStatus.

inProgressLargeFilePath

public String inProgressLargeFilePath()

Get the inProgressLargeFilePath property: Path of large file currently in progress.

Returns:

the inProgressLargeFilePath value.

inProgressLargeFilePercentComplete

public Integer inProgressLargeFilePercentComplete()

Get the inProgressLargeFilePercentComplete property: Percent complete (0-100) of large file currently in progress.

Returns:

the inProgressLargeFilePercentComplete value.

inProgressLargeFileSizeBytes

public Long inProgressLargeFileSizeBytes()

Get the inProgressLargeFileSizeBytes property: Size in bytes of large file currently in progress.

Returns:

the inProgressLargeFileSizeBytes value.

isRemainingFinal

public Boolean isRemainingFinal()

Get the isRemainingFinal property: Whether the remaining counts are final.

Returns:

the isRemainingFinal value.

perItemErrorCount

public Long perItemErrorCount()

Get the perItemErrorCount property: Per item error count.

Returns:

the perItemErrorCount value.

recentItemsPerSecond

public Double recentItemsPerSecond()

Get the recentItemsPerSecond property: Recent throughput in items per second.

Returns:

the recentItemsPerSecond value.

recentMegabytesPerSecond

public Double recentMegabytesPerSecond()

Get the recentMegabytesPerSecond property: Recent throughput in megabytes per second.

Returns:

the recentMegabytesPerSecond value.

remainingDeleteCount

public Long remainingDeleteCount()

Get the remainingDeleteCount property: Remaining delete count (if totals are final).

Returns:

the remainingDeleteCount value.

remainingDirectoryCount

public Long remainingDirectoryCount()

Get the remainingDirectoryCount property: Remaining directory count (if totals are final).

Returns:

the remainingDirectoryCount value.

remainingFileCount

public Long remainingFileCount()

Get the remainingFileCount property: Remaining file count (if totals are final).

Returns:

the remainingFileCount value.

remainingLogicalSizeBytes

public Long remainingLogicalSizeBytes()

Get the remainingLogicalSizeBytes property: Remaining logical size in bytes (if totals are final).

Returns:

the remainingLogicalSizeBytes value.

sessionMinutesRemaining

public Integer sessionMinutesRemaining()

Get the sessionMinutesRemaining property: Session minutes remaining (if available).

Returns:

the sessionMinutesRemaining value.

syncMode

public ServerEndpointSyncMode syncMode()

Get the syncMode property: Sync mode.

Returns:

the syncMode value.

timestamp

public OffsetDateTime timestamp()

Get the timestamp property: Timestamp when properties were updated.

Returns:

the timestamp value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

totalBytes

public Long totalBytes()

Get the totalBytes property: Total bytes (if available).

Returns:

the totalBytes value.

totalItemCount

public Long totalItemCount()

Get the totalItemCount property: Total item count (if available).

Returns:

the totalItemCount value.

warning

public ServerEndpointSyncSessionWarningType warning()

Get the warning property: Warning type (if any).

Returns:

the warning value.

Applies to