Class ReplicationStatusInner
- java.lang.Object
-
- com.azure.resourcemanager.netapp.fluent.models.ReplicationStatusInner
-
public final class ReplicationStatusInner extends Object
Replication status.
-
-
Constructor Summary
Constructors Constructor Description ReplicationStatusInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
errorMessage()
Get the errorMessage property: Displays error message if the replication is in an error state.Boolean
healthy()
Get the healthy property: Replication health check.MirrorState
mirrorState()
Get the mirrorState property: The status of the replication.RelationshipStatus
relationshipStatus()
Get the relationshipStatus property: Status of the mirror relationship.String
totalProgress()
Get the totalProgress property: The progress of the replication.void
validate()
Validates the instance.ReplicationStatusInner
withErrorMessage(String errorMessage)
Set the errorMessage property: Displays error message if the replication is in an error state.ReplicationStatusInner
withHealthy(Boolean healthy)
Set the healthy property: Replication health check.ReplicationStatusInner
withMirrorState(MirrorState mirrorState)
Set the mirrorState property: The status of the replication.ReplicationStatusInner
withRelationshipStatus(RelationshipStatus relationshipStatus)
Set the relationshipStatus property: Status of the mirror relationship.ReplicationStatusInner
withTotalProgress(String totalProgress)
Set the totalProgress property: The progress of the replication.
-
-
-
Method Detail
-
healthy
public Boolean healthy()
Get the healthy property: Replication health check.- Returns:
- the healthy value.
-
withHealthy
public ReplicationStatusInner withHealthy(Boolean healthy)
Set the healthy property: Replication health check.- Parameters:
healthy
- the healthy value to set.- Returns:
- the ReplicationStatusInner object itself.
-
relationshipStatus
public RelationshipStatus relationshipStatus()
Get the relationshipStatus property: Status of the mirror relationship.- Returns:
- the relationshipStatus value.
-
withRelationshipStatus
public ReplicationStatusInner withRelationshipStatus(RelationshipStatus relationshipStatus)
Set the relationshipStatus property: Status of the mirror relationship.- Parameters:
relationshipStatus
- the relationshipStatus value to set.- Returns:
- the ReplicationStatusInner object itself.
-
mirrorState
public MirrorState mirrorState()
Get the mirrorState property: The status of the replication.- Returns:
- the mirrorState value.
-
withMirrorState
public ReplicationStatusInner withMirrorState(MirrorState mirrorState)
Set the mirrorState property: The status of the replication.- Parameters:
mirrorState
- the mirrorState value to set.- Returns:
- the ReplicationStatusInner object itself.
-
totalProgress
public String totalProgress()
Get the totalProgress property: The progress of the replication.- Returns:
- the totalProgress value.
-
withTotalProgress
public ReplicationStatusInner withTotalProgress(String totalProgress)
Set the totalProgress property: The progress of the replication.- Parameters:
totalProgress
- the totalProgress value to set.- Returns:
- the ReplicationStatusInner object itself.
-
errorMessage
public String errorMessage()
Get the errorMessage property: Displays error message if the replication is in an error state.- Returns:
- the errorMessage value.
-
withErrorMessage
public ReplicationStatusInner withErrorMessage(String errorMessage)
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.
-
-