public class SnapMirrorRelationship
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SnapMirrorRelationship.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
SnapMirrorRelationship() |
SnapMirrorRelationship(java.lang.Long snapMirrorEndpointID,
java.lang.String clusterName,
java.lang.String snapMirrorRelationshipID,
SnapMirrorVolumeInfo sourceVolume,
SnapMirrorVolumeInfo destinationVolume,
java.lang.Long currentMaxTransferRate,
java.lang.Boolean isHealthy,
java.lang.Long lagtime,
java.lang.Long lastTransferDuration,
java.lang.String lastTransferError,
java.lang.Long lastTransferSize,
java.lang.String lastTransferEndTimestamp,
java.lang.String lastTransferType,
java.lang.Long maxTransferRate,
java.lang.String mirrorState,
java.lang.String newestSnapshot,
java.lang.String policyName,
java.lang.String policyType,
java.lang.String relationshipStatus,
java.lang.String releationshipType,
java.lang.String scheduleName,
java.lang.String unhealthyReason) |
Modifier and Type | Method and Description |
---|---|
SnapMirrorRelationship.Builder |
asBuilder() |
static SnapMirrorRelationship.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getClusterName()
The name of the destination ONTAP cluster.
|
java.lang.Long |
getCurrentMaxTransferRate()
The current maximum transfer rate between the
source and destination volumes, in kilobytes per second.
|
SnapMirrorVolumeInfo |
getDestinationVolume()
An object describing the destination volume.
|
java.lang.Boolean |
getIsHealthy()
Whether the relationship is healthy or not.
|
java.lang.Long |
getLagtime()
The amount of time in seconds by which the data on the
destination volume lags behind the data on the source volume.
|
java.lang.Long |
getLastTransferDuration()
The amount of time in seconds it took for the last transfer to complete.
|
java.lang.String |
getLastTransferEndTimestamp()
The timestamp of the end of the last transfer.
|
java.lang.String |
getLastTransferError()
A message describing the cause of the last transfer failure.
|
java.lang.Long |
getLastTransferSize()
The total number of bytes transferred during the last transfer.
|
java.lang.String |
getLastTransferType()
The type of the previous transfer in the relationship.
|
java.lang.Long |
getMaxTransferRate()
Specifies the maximum data transfer rate
between the volumes in kilobytes per second.
|
java.lang.String |
getMirrorState()
The mirror state of the SnapMirror relationship.
|
java.lang.String |
getNewestSnapshot()
The name of the newest Snapshot copy on the destination volume.
|
java.lang.String |
getPolicyName()
Specifies the name of the ONTAP SnapMirror policy for the relationship.
|
java.lang.String |
getPolicyType()
The type of the ONTAP SnapMirror policy for the relationship.
|
java.lang.String |
getRelationshipStatus()
The status of the SnapMirror relationship.
|
java.lang.String |
getReleationshipType()
The type of the SnapMirror relationship.
|
java.lang.String |
getScheduleName()
The name of the pre-existing cron schedule on the ONTAP
system that is used to update the SnapMirror relationship.
|
java.lang.Long |
getSnapMirrorEndpointID()
The ID of the destination ONTAP system.
|
java.lang.String |
getSnapMirrorRelationshipID()
The unique identifier for each snapMirrorRelationship object
in an array as would be returned in ListSnapMirrorRelationships.
|
SnapMirrorVolumeInfo |
getSourceVolume()
An object describing the source volume.
|
java.lang.String |
getUnhealthyReason()
The reason the relationship is not healthy.
|
int |
hashCode() |
void |
setClusterName(java.lang.String clusterName) |
void |
setCurrentMaxTransferRate(java.lang.Long currentMaxTransferRate) |
void |
setDestinationVolume(SnapMirrorVolumeInfo destinationVolume) |
void |
setIsHealthy(java.lang.Boolean isHealthy) |
void |
setLagtime(java.lang.Long lagtime) |
void |
setLastTransferDuration(java.lang.Long lastTransferDuration) |
void |
setLastTransferEndTimestamp(java.lang.String lastTransferEndTimestamp) |
void |
setLastTransferError(java.lang.String lastTransferError) |
void |
setLastTransferSize(java.lang.Long lastTransferSize) |
void |
setLastTransferType(java.lang.String lastTransferType) |
void |
setMaxTransferRate(java.lang.Long maxTransferRate) |
void |
setMirrorState(java.lang.String mirrorState) |
void |
setNewestSnapshot(java.lang.String newestSnapshot) |
void |
setPolicyName(java.lang.String policyName) |
void |
setPolicyType(java.lang.String policyType) |
void |
setRelationshipStatus(java.lang.String relationshipStatus) |
void |
setReleationshipType(java.lang.String releationshipType) |
void |
setScheduleName(java.lang.String scheduleName) |
void |
setSnapMirrorEndpointID(java.lang.Long snapMirrorEndpointID) |
void |
setSnapMirrorRelationshipID(java.lang.String snapMirrorRelationshipID) |
void |
setSourceVolume(SnapMirrorVolumeInfo sourceVolume) |
void |
setUnhealthyReason(java.lang.String unhealthyReason) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="10.0") public SnapMirrorRelationship(java.lang.Long snapMirrorEndpointID, java.lang.String clusterName, java.lang.String snapMirrorRelationshipID, SnapMirrorVolumeInfo sourceVolume, SnapMirrorVolumeInfo destinationVolume, java.lang.Long currentMaxTransferRate, java.lang.Boolean isHealthy, java.lang.Long lagtime, java.lang.Long lastTransferDuration, java.lang.String lastTransferError, java.lang.Long lastTransferSize, java.lang.String lastTransferEndTimestamp, java.lang.String lastTransferType, java.lang.Long maxTransferRate, java.lang.String mirrorState, java.lang.String newestSnapshot, java.lang.String policyName, java.lang.String policyType, java.lang.String relationshipStatus, java.lang.String releationshipType, java.lang.String scheduleName, java.lang.String unhealthyReason)
public java.lang.Long getSnapMirrorEndpointID()
public void setSnapMirrorEndpointID(java.lang.Long snapMirrorEndpointID)
public java.lang.String getClusterName()
public void setClusterName(java.lang.String clusterName)
public java.lang.String getSnapMirrorRelationshipID()
public void setSnapMirrorRelationshipID(java.lang.String snapMirrorRelationshipID)
public SnapMirrorVolumeInfo getSourceVolume()
public void setSourceVolume(SnapMirrorVolumeInfo sourceVolume)
public SnapMirrorVolumeInfo getDestinationVolume()
public void setDestinationVolume(SnapMirrorVolumeInfo destinationVolume)
public java.lang.Long getCurrentMaxTransferRate()
public void setCurrentMaxTransferRate(java.lang.Long currentMaxTransferRate)
public java.lang.Boolean getIsHealthy()
public void setIsHealthy(java.lang.Boolean isHealthy)
public java.lang.Long getLagtime()
public void setLagtime(java.lang.Long lagtime)
public java.lang.Long getLastTransferDuration()
public void setLastTransferDuration(java.lang.Long lastTransferDuration)
public java.lang.String getLastTransferError()
public void setLastTransferError(java.lang.String lastTransferError)
public java.lang.Long getLastTransferSize()
public void setLastTransferSize(java.lang.Long lastTransferSize)
public java.lang.String getLastTransferEndTimestamp()
public void setLastTransferEndTimestamp(java.lang.String lastTransferEndTimestamp)
public java.lang.String getLastTransferType()
public void setLastTransferType(java.lang.String lastTransferType)
public java.lang.Long getMaxTransferRate()
public void setMaxTransferRate(java.lang.Long maxTransferRate)
public java.lang.String getMirrorState()
public void setMirrorState(java.lang.String mirrorState)
public java.lang.String getNewestSnapshot()
public void setNewestSnapshot(java.lang.String newestSnapshot)
public java.lang.String getPolicyName()
public void setPolicyName(java.lang.String policyName)
public java.lang.String getPolicyType()
public void setPolicyType(java.lang.String policyType)
public java.lang.String getRelationshipStatus()
public void setRelationshipStatus(java.lang.String relationshipStatus)
public java.lang.String getReleationshipType()
public void setReleationshipType(java.lang.String releationshipType)
public java.lang.String getScheduleName()
public void setScheduleName(java.lang.String scheduleName)
public java.lang.String getUnhealthyReason()
public void setUnhealthyReason(java.lang.String unhealthyReason)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static SnapMirrorRelationship.Builder builder()
public final SnapMirrorRelationship.Builder asBuilder()