public class VolumePair
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
VolumePair.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
VolumePair() |
VolumePair(java.lang.Long clusterPairID,
java.lang.Long remoteVolumeID,
java.lang.Long remoteSliceID,
java.lang.String remoteVolumeName,
java.util.UUID volumePairUUID,
RemoteReplication remoteReplication) |
Modifier and Type | Method and Description |
---|---|
VolumePair.Builder |
asBuilder() |
static VolumePair.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getClusterPairID()
The remote cluster a volume is paired with.
|
RemoteReplication |
getRemoteReplication()
Details about the replication configuration for this volume pair.
|
java.lang.Long |
getRemoteSliceID()
The SliceID on the remote cluster a volume is paired with.
|
java.lang.Long |
getRemoteVolumeID()
The VolumeID on the remote cluster a volume is paired with.
|
java.lang.String |
getRemoteVolumeName()
The last-observed name of the volume on the remote cluster a volume is paired with.
|
java.util.UUID |
getVolumePairUUID()
A UUID in canonical form.
|
int |
hashCode() |
void |
setClusterPairID(java.lang.Long clusterPairID) |
void |
setRemoteReplication(RemoteReplication remoteReplication) |
void |
setRemoteSliceID(java.lang.Long remoteSliceID) |
void |
setRemoteVolumeID(java.lang.Long remoteVolumeID) |
void |
setRemoteVolumeName(java.lang.String remoteVolumeName) |
void |
setVolumePairUUID(java.util.UUID volumePairUUID) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public VolumePair(java.lang.Long clusterPairID, java.lang.Long remoteVolumeID, java.lang.Long remoteSliceID, java.lang.String remoteVolumeName, java.util.UUID volumePairUUID, RemoteReplication remoteReplication)
public java.lang.Long getClusterPairID()
public void setClusterPairID(java.lang.Long clusterPairID)
public java.lang.Long getRemoteVolumeID()
public void setRemoteVolumeID(java.lang.Long remoteVolumeID)
public java.lang.Long getRemoteSliceID()
public void setRemoteSliceID(java.lang.Long remoteSliceID)
public java.lang.String getRemoteVolumeName()
public void setRemoteVolumeName(java.lang.String remoteVolumeName)
public java.util.UUID getVolumePairUUID()
public void setVolumePairUUID(java.util.UUID volumePairUUID)
public RemoteReplication getRemoteReplication()
public void setRemoteReplication(RemoteReplication remoteReplication)
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 VolumePair.Builder builder()
public final VolumePair.Builder asBuilder()