Class ReplicationStatusInner
java.lang.Object
com.azure.resourcemanager.netapp.fluent.models.ReplicationStatusInner
Replication status.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the errorMessage property: Displays error message if the replication is in an error state.healthy()
Get the healthy property: Replication health check.Get the mirrorState property: The status of the replication.Get the relationshipStatus property: Status of the mirror relationship.Get the totalProgress property: The progress of the replication.void
validate()
Validates the instance.withErrorMessage
(String errorMessage) Set the errorMessage property: Displays error message if the replication is in an error state.withHealthy
(Boolean healthy) Set the healthy property: Replication health check.withMirrorState
(MirrorState mirrorState) Set the mirrorState property: The status of the replication.withRelationshipStatus
(RelationshipStatus relationshipStatus) Set the relationshipStatus property: Status of the mirror relationship.withTotalProgress
(String totalProgress) Set the totalProgress property: The progress of the replication.
-
Constructor Details
-
ReplicationStatusInner
public ReplicationStatusInner()
-
-
Method Details
-
healthy
Get the healthy property: Replication health check.- Returns:
- the healthy value.
-
withHealthy
Set the healthy property: Replication health check.- Parameters:
healthy
- the healthy value to set.- Returns:
- the ReplicationStatusInner object itself.
-
relationshipStatus
Get the relationshipStatus property: Status of the mirror relationship.- Returns:
- the relationshipStatus value.
-
withRelationshipStatus
Set the relationshipStatus property: Status of the mirror relationship.- Parameters:
relationshipStatus
- the relationshipStatus value to set.- Returns:
- the ReplicationStatusInner object itself.
-
mirrorState
Get the mirrorState property: The status of the replication.- Returns:
- the mirrorState value.
-
withMirrorState
Set the mirrorState property: The status of the replication.- Parameters:
mirrorState
- the mirrorState value to set.- Returns:
- the ReplicationStatusInner object itself.
-
totalProgress
Get the totalProgress property: The progress of the replication.- Returns:
- the totalProgress value.
-
withTotalProgress
Set the totalProgress property: The progress of the replication.- Parameters:
totalProgress
- the totalProgress value to set.- Returns:
- the ReplicationStatusInner object itself.
-
errorMessage
Get the errorMessage property: Displays error message if the replication is in an error state.- Returns:
- the errorMessage value.
-
withErrorMessage
Set the errorMessage property: Displays error message if the replication is in an error state.- Parameters:
errorMessage
- the errorMessage value to set.- Returns:
- the ReplicationStatusInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-