public class Volume
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Volume.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
Volume() |
Volume(java.lang.Long volumeID,
java.lang.String name,
java.lang.Long accountID,
java.lang.String createTime,
java.util.UUID volumeConsistencyGroupUUID,
java.util.UUID volumeUUID,
java.lang.Boolean enableSnapMirrorReplication,
java.lang.String status,
java.lang.String access,
java.lang.Boolean enable512e,
Optional<java.lang.String> iqn,
java.lang.String scsiEUIDeviceID,
java.lang.String scsiNAADeviceID,
VolumeQOS qos,
Optional<java.lang.Long> qosPolicyID,
java.lang.Long[] volumeAccessGroups,
VolumePair[] volumePairs,
Optional<java.lang.String> deleteTime,
Optional<java.lang.String> purgeTime,
Optional<java.lang.String> lastAccessTime,
Optional<java.lang.String> lastAccessTimeIO,
java.lang.Long sliceCount,
java.lang.Long totalSize,
java.lang.Long blockSize,
Optional<java.util.UUID> virtualVolumeID,
Attributes attributes,
java.lang.String currentProtectionScheme,
Optional<java.lang.String> previousProtectionScheme) |
Volume(java.lang.Long volumeID,
java.lang.String name,
java.lang.Long accountID,
java.lang.String createTime,
java.util.UUID volumeConsistencyGroupUUID,
java.util.UUID volumeUUID,
java.lang.Boolean enableSnapMirrorReplication,
java.lang.String status,
java.lang.String access,
java.lang.Boolean enable512e,
Optional<java.lang.String> iqn,
java.lang.String scsiEUIDeviceID,
java.lang.String scsiNAADeviceID,
VolumeQOS qos,
Optional<java.lang.Long> qosPolicyID,
java.lang.Long[] volumeAccessGroups,
VolumePair[] volumePairs,
Optional<java.lang.String> deleteTime,
Optional<java.lang.String> purgeTime,
Optional<java.lang.String> lastAccessTime,
Optional<java.lang.String> lastAccessTimeIO,
java.lang.Long sliceCount,
java.lang.Long totalSize,
java.lang.Long blockSize,
Optional<java.util.UUID> virtualVolumeID,
Attributes attributes,
java.lang.String currentProtectionScheme,
Optional<java.lang.String> previousProtectionScheme,
Optional<java.lang.Long> fifoSize,
Optional<java.lang.Long> minFifoSize) |
Modifier and Type | Method and Description |
---|---|
Volume.Builder |
asBuilder() |
static Volume.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAccess()
Access allowed for the volume
|
java.lang.Long |
getAccountID()
Unique AccountID for the account.
|
Attributes |
getAttributes()
List of Name/Value pairs in JSON object format.
|
java.lang.Long |
getBlockSize()
Size of the blocks on the volume.
|
java.lang.String |
getCreateTime()
UTC formatted time the volume was created.
|
java.lang.String |
getCurrentProtectionScheme()
Protection scheme that is being used for this volume
If a volume is converting from one protection scheme to another,
this field will be set to the protection scheme that the volume is converting to.
|
Optional<java.lang.String> |
getDeleteTime()
The time this volume was deleted.
|
java.lang.Boolean |
getEnable512e()
If "true", the volume provides 512 byte sector emulation.
|
java.lang.Boolean |
getEnableSnapMirrorReplication() |
Optional<java.lang.Long> |
getFifoSize()
Specify the maximum number of snapshots of the volume to be maintained at a time
if using first in first out snapshot retention mode.
|
Optional<java.lang.String> |
getIqn()
Volume iSCSI Qualified Name.
|
Optional<java.lang.String> |
getLastAccessTime()
The last time any access to this volume occurred.
|
Optional<java.lang.String> |
getLastAccessTimeIO()
The last time I/O access to this volume occurred.
|
Optional<java.lang.Long> |
getMinFifoSize()
Specify the number of snapshots of the volume to be maintained at a time
if using first in first out snapshot retention mode.
|
java.lang.String |
getName()
Name of the volume as provided at creation time.
|
Optional<java.lang.String> |
getPreviousProtectionScheme()
If a volume is converting from one protection scheme to another,
this field will be set to the protection scheme the volume is converting from.
|
Optional<java.lang.String> |
getPurgeTime()
The time this volume will be purged from the system.
|
VolumeQOS |
getQos()
Quality of service settings for this volume.
|
Optional<java.lang.Long> |
getQosPolicyID()
The QoS policy ID associated with the volume.
|
java.lang.String |
getScsiEUIDeviceID()
Globally unique SCSI device identifier for the volume in EUI-64 based 16-byte format.
|
java.lang.String |
getScsiNAADeviceID()
Globally unique SCSI device identifier for the volume in NAA IEEE Registered Extended format.
|
java.lang.Long |
getSliceCount()
The number of slices backing this volume.
|
java.lang.String |
getStatus()
Current status of the volume
init: A volume that is being initialized and is not ready for connections.
|
java.lang.Long |
getTotalSize()
Total size of this volume in bytes.
|
Optional<java.util.UUID> |
getVirtualVolumeID()
Virtual volume ID this volume backs.
|
java.lang.Long[] |
getVolumeAccessGroups()
List of volume access groups to which a volume beintegers.
|
java.util.UUID |
getVolumeConsistencyGroupUUID() |
java.lang.Long |
getVolumeID()
Unique VolumeID for the volume.
|
VolumePair[] |
getVolumePairs()
Information about a paired volume.
|
java.util.UUID |
getVolumeUUID() |
int |
hashCode() |
void |
setAccess(java.lang.String access) |
void |
setAccountID(java.lang.Long accountID) |
void |
setAttributes(Attributes attributes) |
void |
setBlockSize(java.lang.Long blockSize) |
void |
setCreateTime(java.lang.String createTime) |
void |
setCurrentProtectionScheme(java.lang.String currentProtectionScheme) |
void |
setDeleteTime(Optional<java.lang.String> deleteTime) |
void |
setEnable512e(java.lang.Boolean enable512e) |
void |
setEnableSnapMirrorReplication(java.lang.Boolean enableSnapMirrorReplication) |
void |
setFifoSize(Optional<java.lang.Long> fifoSize) |
void |
setIqn(Optional<java.lang.String> iqn) |
void |
setLastAccessTime(Optional<java.lang.String> lastAccessTime) |
void |
setLastAccessTimeIO(Optional<java.lang.String> lastAccessTimeIO) |
void |
setMinFifoSize(Optional<java.lang.Long> minFifoSize) |
void |
setName(java.lang.String name) |
void |
setPreviousProtectionScheme(Optional<java.lang.String> previousProtectionScheme) |
void |
setPurgeTime(Optional<java.lang.String> purgeTime) |
void |
setQos(VolumeQOS qos) |
void |
setQosPolicyID(Optional<java.lang.Long> qosPolicyID) |
void |
setScsiEUIDeviceID(java.lang.String scsiEUIDeviceID) |
void |
setScsiNAADeviceID(java.lang.String scsiNAADeviceID) |
void |
setSliceCount(java.lang.Long sliceCount) |
void |
setStatus(java.lang.String status) |
void |
setTotalSize(java.lang.Long totalSize) |
void |
setVirtualVolumeID(Optional<java.util.UUID> virtualVolumeID) |
void |
setVolumeAccessGroups(java.lang.Long[] volumeAccessGroups) |
void |
setVolumeConsistencyGroupUUID(java.util.UUID volumeConsistencyGroupUUID) |
void |
setVolumeID(java.lang.Long volumeID) |
void |
setVolumePairs(VolumePair[] volumePairs) |
void |
setVolumeUUID(java.util.UUID volumeUUID) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public Volume(java.lang.Long volumeID, java.lang.String name, java.lang.Long accountID, java.lang.String createTime, java.util.UUID volumeConsistencyGroupUUID, java.util.UUID volumeUUID, java.lang.Boolean enableSnapMirrorReplication, java.lang.String status, java.lang.String access, java.lang.Boolean enable512e, Optional<java.lang.String> iqn, java.lang.String scsiEUIDeviceID, java.lang.String scsiNAADeviceID, VolumeQOS qos, Optional<java.lang.Long> qosPolicyID, java.lang.Long[] volumeAccessGroups, VolumePair[] volumePairs, Optional<java.lang.String> deleteTime, Optional<java.lang.String> purgeTime, Optional<java.lang.String> lastAccessTime, Optional<java.lang.String> lastAccessTimeIO, java.lang.Long sliceCount, java.lang.Long totalSize, java.lang.Long blockSize, Optional<java.util.UUID> virtualVolumeID, Attributes attributes, java.lang.String currentProtectionScheme, Optional<java.lang.String> previousProtectionScheme)
@Since(value="12.0") public Volume(java.lang.Long volumeID, java.lang.String name, java.lang.Long accountID, java.lang.String createTime, java.util.UUID volumeConsistencyGroupUUID, java.util.UUID volumeUUID, java.lang.Boolean enableSnapMirrorReplication, java.lang.String status, java.lang.String access, java.lang.Boolean enable512e, Optional<java.lang.String> iqn, java.lang.String scsiEUIDeviceID, java.lang.String scsiNAADeviceID, VolumeQOS qos, Optional<java.lang.Long> qosPolicyID, java.lang.Long[] volumeAccessGroups, VolumePair[] volumePairs, Optional<java.lang.String> deleteTime, Optional<java.lang.String> purgeTime, Optional<java.lang.String> lastAccessTime, Optional<java.lang.String> lastAccessTimeIO, java.lang.Long sliceCount, java.lang.Long totalSize, java.lang.Long blockSize, Optional<java.util.UUID> virtualVolumeID, Attributes attributes, java.lang.String currentProtectionScheme, Optional<java.lang.String> previousProtectionScheme, Optional<java.lang.Long> fifoSize, Optional<java.lang.Long> minFifoSize)
public java.lang.Long getVolumeID()
public void setVolumeID(java.lang.Long volumeID)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.Long getAccountID()
public void setAccountID(java.lang.Long accountID)
public java.lang.String getCreateTime()
public void setCreateTime(java.lang.String createTime)
public java.util.UUID getVolumeConsistencyGroupUUID()
public void setVolumeConsistencyGroupUUID(java.util.UUID volumeConsistencyGroupUUID)
public java.util.UUID getVolumeUUID()
public void setVolumeUUID(java.util.UUID volumeUUID)
public java.lang.Boolean getEnableSnapMirrorReplication()
public void setEnableSnapMirrorReplication(java.lang.Boolean enableSnapMirrorReplication)
public java.lang.String getStatus()
public void setStatus(java.lang.String status)
public java.lang.String getAccess()
public void setAccess(java.lang.String access)
public java.lang.Boolean getEnable512e()
public void setEnable512e(java.lang.Boolean enable512e)
public Optional<java.lang.String> getIqn()
public void setIqn(Optional<java.lang.String> iqn)
public java.lang.String getScsiEUIDeviceID()
public void setScsiEUIDeviceID(java.lang.String scsiEUIDeviceID)
public java.lang.String getScsiNAADeviceID()
public void setScsiNAADeviceID(java.lang.String scsiNAADeviceID)
public VolumeQOS getQos()
public void setQos(VolumeQOS qos)
public Optional<java.lang.Long> getQosPolicyID()
public void setQosPolicyID(Optional<java.lang.Long> qosPolicyID)
public java.lang.Long[] getVolumeAccessGroups()
public void setVolumeAccessGroups(java.lang.Long[] volumeAccessGroups)
public VolumePair[] getVolumePairs()
for return values.
public void setVolumePairs(VolumePair[] volumePairs)
public Optional<java.lang.String> getDeleteTime()
public void setDeleteTime(Optional<java.lang.String> deleteTime)
public Optional<java.lang.String> getPurgeTime()
public void setPurgeTime(Optional<java.lang.String> purgeTime)
public Optional<java.lang.String> getLastAccessTime()
public void setLastAccessTime(Optional<java.lang.String> lastAccessTime)
public Optional<java.lang.String> getLastAccessTimeIO()
public void setLastAccessTimeIO(Optional<java.lang.String> lastAccessTimeIO)
public java.lang.Long getSliceCount()
public void setSliceCount(java.lang.Long sliceCount)
public java.lang.Long getTotalSize()
public void setTotalSize(java.lang.Long totalSize)
public java.lang.Long getBlockSize()
public void setBlockSize(java.lang.Long blockSize)
public Optional<java.util.UUID> getVirtualVolumeID()
public void setVirtualVolumeID(Optional<java.util.UUID> virtualVolumeID)
public Attributes getAttributes()
public void setAttributes(Attributes attributes)
public java.lang.String getCurrentProtectionScheme()
public void setCurrentProtectionScheme(java.lang.String currentProtectionScheme)
public Optional<java.lang.String> getPreviousProtectionScheme()
public void setPreviousProtectionScheme(Optional<java.lang.String> previousProtectionScheme)
public Optional<java.lang.Long> getFifoSize()
public void setFifoSize(Optional<java.lang.Long> fifoSize)
public Optional<java.lang.Long> getMinFifoSize()
public void setMinFifoSize(Optional<java.lang.Long> minFifoSize)
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 Volume.Builder builder()
public final Volume.Builder asBuilder()