public class VirtualVolumeInfo
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
VirtualVolumeInfo.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
VirtualVolumeInfo() |
VirtualVolumeInfo(java.util.UUID virtualVolumeID,
java.util.UUID parentVirtualVolumeID,
StorageContainer storageContainer,
java.lang.Long volumeID,
java.lang.Long snapshotID,
java.lang.String virtualVolumeType,
java.lang.String status,
java.lang.Long[] bindings,
java.util.UUID[] children,
Attributes metadata,
Optional<Snapshot> snapshotInfo,
Optional<Volume> volumeInfo,
Optional<java.lang.Long[]> descendants) |
Modifier and Type | Method and Description |
---|---|
VirtualVolumeInfo.Builder |
asBuilder() |
static VirtualVolumeInfo.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.Long[] |
getBindings() |
java.util.UUID[] |
getChildren() |
Optional<java.lang.Long[]> |
getDescendants() |
Attributes |
getMetadata() |
java.util.UUID |
getParentVirtualVolumeID() |
java.lang.Long |
getSnapshotID() |
Optional<Snapshot> |
getSnapshotInfo() |
java.lang.String |
getStatus() |
StorageContainer |
getStorageContainer() |
java.util.UUID |
getVirtualVolumeID() |
java.lang.String |
getVirtualVolumeType() |
java.lang.Long |
getVolumeID() |
Optional<Volume> |
getVolumeInfo() |
int |
hashCode() |
void |
setBindings(java.lang.Long[] bindings) |
void |
setChildren(java.util.UUID[] children) |
void |
setDescendants(Optional<java.lang.Long[]> descendants) |
void |
setMetadata(Attributes metadata) |
void |
setParentVirtualVolumeID(java.util.UUID parentVirtualVolumeID) |
void |
setSnapshotID(java.lang.Long snapshotID) |
void |
setSnapshotInfo(Optional<Snapshot> snapshotInfo) |
void |
setStatus(java.lang.String status) |
void |
setStorageContainer(StorageContainer storageContainer) |
void |
setVirtualVolumeID(java.util.UUID virtualVolumeID) |
void |
setVirtualVolumeType(java.lang.String virtualVolumeType) |
void |
setVolumeID(java.lang.Long volumeID) |
void |
setVolumeInfo(Optional<Volume> volumeInfo) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public VirtualVolumeInfo(java.util.UUID virtualVolumeID, java.util.UUID parentVirtualVolumeID, StorageContainer storageContainer, java.lang.Long volumeID, java.lang.Long snapshotID, java.lang.String virtualVolumeType, java.lang.String status, java.lang.Long[] bindings, java.util.UUID[] children, Attributes metadata, Optional<Snapshot> snapshotInfo, Optional<Volume> volumeInfo, Optional<java.lang.Long[]> descendants)
public java.util.UUID getVirtualVolumeID()
public void setVirtualVolumeID(java.util.UUID virtualVolumeID)
public java.util.UUID getParentVirtualVolumeID()
public void setParentVirtualVolumeID(java.util.UUID parentVirtualVolumeID)
public StorageContainer getStorageContainer()
public void setStorageContainer(StorageContainer storageContainer)
public java.lang.Long getVolumeID()
public void setVolumeID(java.lang.Long volumeID)
public java.lang.Long getSnapshotID()
public void setSnapshotID(java.lang.Long snapshotID)
public java.lang.String getVirtualVolumeType()
public void setVirtualVolumeType(java.lang.String virtualVolumeType)
public java.lang.String getStatus()
public void setStatus(java.lang.String status)
public java.lang.Long[] getBindings()
public void setBindings(java.lang.Long[] bindings)
public java.util.UUID[] getChildren()
public void setChildren(java.util.UUID[] children)
public Attributes getMetadata()
public void setMetadata(Attributes metadata)
public Optional<java.lang.Long[]> getDescendants()
public void setDescendants(Optional<java.lang.Long[]> descendants)
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 VirtualVolumeInfo.Builder builder()
public final VirtualVolumeInfo.Builder asBuilder()