Class BackupStatusInner
java.lang.Object
com.azure.resourcemanager.netapp.fluent.models.BackupStatusInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<BackupStatusInner>
public final class BackupStatusInner
extends Object
implements com.azure.json.JsonSerializable<BackupStatusInner>
Backup status.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the errorMessage property: Displays error message if the backup is in an error state.static BackupStatusInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of BackupStatusInner from the JsonReader.healthy()
Get the healthy property: Backup health status.Get the lastTransferSize property: Displays the last transfer size.Get the lastTransferType property: Displays the last transfer type.Get the mirrorState property: The status of the backup.Get the relationshipStatus property: Status of the backup mirror relationship.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Get the totalTransferBytes property: Displays the total bytes transferred.Get the transferProgressBytes property: Displays the total number of bytes transferred for the ongoing operation.Get the unhealthyReason property: Reason for the unhealthy backup relationship.void
validate()
Validates the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
BackupStatusInner
public BackupStatusInner()Creates an instance of BackupStatusInner class.
-
-
Method Details
-
healthy
Get the healthy property: Backup health status.- Returns:
- the healthy value.
-
relationshipStatus
Get the relationshipStatus property: Status of the backup mirror relationship.- Returns:
- the relationshipStatus value.
-
mirrorState
Get the mirrorState property: The status of the backup.- Returns:
- the mirrorState value.
-
unhealthyReason
Get the unhealthyReason property: Reason for the unhealthy backup relationship.- Returns:
- the unhealthyReason value.
-
errorMessage
Get the errorMessage property: Displays error message if the backup is in an error state.- Returns:
- the errorMessage value.
-
lastTransferSize
Get the lastTransferSize property: Displays the last transfer size.- Returns:
- the lastTransferSize value.
-
lastTransferType
Get the lastTransferType property: Displays the last transfer type.- Returns:
- the lastTransferType value.
-
totalTransferBytes
Get the totalTransferBytes property: Displays the total bytes transferred.- Returns:
- the totalTransferBytes value.
-
transferProgressBytes
Get the transferProgressBytes property: Displays the total number of bytes transferred for the ongoing operation.- Returns:
- the transferProgressBytes value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<BackupStatusInner>
- Throws:
IOException
-
fromJson
Reads an instance of BackupStatusInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of BackupStatusInner 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 BackupStatusInner.
-