Class RestoreStatusInner
java.lang.Object
com.azure.resourcemanager.netapp.fluent.models.RestoreStatusInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<RestoreStatusInner>
public final class RestoreStatusInner
extends Object
implements com.azure.json.JsonSerializable<RestoreStatusInner>
Restore status.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the errorMessage property: Displays error message if the restore is in an error state.static RestoreStatusInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of RestoreStatusInner from the JsonReader.healthy()
Get the healthy property: Restore health status.Get the mirrorState property: The status of the restore.Get the relationshipStatus property: Status of the restore SnapMirror relationship.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Get the totalTransferBytes property: Displays the total bytes transferred.Get the unhealthyReason property: Reason for the unhealthy restore 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
-
RestoreStatusInner
public RestoreStatusInner()Creates an instance of RestoreStatusInner class.
-
-
Method Details
-
healthy
Get the healthy property: Restore health status.- Returns:
- the healthy value.
-
relationshipStatus
Get the relationshipStatus property: Status of the restore SnapMirror relationship.- Returns:
- the relationshipStatus value.
-
mirrorState
Get the mirrorState property: The status of the restore.- Returns:
- the mirrorState value.
-
unhealthyReason
Get the unhealthyReason property: Reason for the unhealthy restore relationship.- Returns:
- the unhealthyReason value.
-
errorMessage
Get the errorMessage property: Displays error message if the restore is in an error state.- Returns:
- the errorMessage value.
-
totalTransferBytes
Get the totalTransferBytes property: Displays the total bytes transferred.- Returns:
- the totalTransferBytes 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<RestoreStatusInner>
- Throws:
IOException
-
fromJson
Reads an instance of RestoreStatusInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of RestoreStatusInner 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 RestoreStatusInner.
-