public class CloneVolumeRequest
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
CloneVolumeRequest.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
CloneVolumeRequest() |
CloneVolumeRequest(java.lang.Long volumeID,
java.lang.String name,
Optional<java.lang.Long> newAccountID,
Optional<java.lang.Long> newSize,
Optional<java.lang.String> access,
Optional<java.lang.Long> snapshotID,
Optional<Attributes> attributes,
Optional<java.lang.Boolean> enable512e) |
CloneVolumeRequest(java.lang.Long volumeID,
java.lang.String name,
Optional<java.lang.Long> newAccountID,
Optional<java.lang.Long> newSize,
Optional<java.lang.String> access,
Optional<java.lang.Long> snapshotID,
Optional<Attributes> attributes,
Optional<java.lang.Boolean> enable512e,
Optional<java.lang.Boolean> enableSnapMirrorReplication) |
Modifier and Type | Method and Description |
---|---|
CloneVolumeRequest.Builder |
asBuilder() |
static CloneVolumeRequest.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Optional<java.lang.String> |
getAccess()
Specifies the level of access allowed for the new volume.
|
Optional<Attributes> |
getAttributes()
List of name-value pairs in JSON object format.
|
Optional<java.lang.Boolean> |
getEnable512e()
Specifies whether the new volume should use 512-byte sector emulation.
|
Optional<java.lang.Boolean> |
getEnableSnapMirrorReplication()
Specifies whether SnapMirror replication is enabled or not.
|
java.lang.String |
getName()
The name of the new cloned volume.
|
Optional<java.lang.Long> |
getNewAccountID()
AccountID for the owner of the new volume.
|
Optional<java.lang.Long> |
getNewSize()
New size of the volume, in bytes.
|
Optional<java.lang.Long> |
getSnapshotID()
ID of the snapshot that is used as the source of the clone.
|
java.lang.Long |
getVolumeID()
VolumeID for the volume to be cloned.
|
int |
hashCode() |
void |
setAccess(Optional<java.lang.String> access) |
void |
setAttributes(Optional<Attributes> attributes) |
void |
setEnable512e(Optional<java.lang.Boolean> enable512e) |
void |
setEnableSnapMirrorReplication(Optional<java.lang.Boolean> enableSnapMirrorReplication) |
void |
setName(java.lang.String name) |
void |
setNewAccountID(Optional<java.lang.Long> newAccountID) |
void |
setNewSize(Optional<java.lang.Long> newSize) |
void |
setSnapshotID(Optional<java.lang.Long> snapshotID) |
void |
setVolumeID(java.lang.Long volumeID) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public CloneVolumeRequest(java.lang.Long volumeID, java.lang.String name, Optional<java.lang.Long> newAccountID, Optional<java.lang.Long> newSize, Optional<java.lang.String> access, Optional<java.lang.Long> snapshotID, Optional<Attributes> attributes, Optional<java.lang.Boolean> enable512e)
@Since(value="10.0") public CloneVolumeRequest(java.lang.Long volumeID, java.lang.String name, Optional<java.lang.Long> newAccountID, Optional<java.lang.Long> newSize, Optional<java.lang.String> access, Optional<java.lang.Long> snapshotID, Optional<Attributes> attributes, Optional<java.lang.Boolean> enable512e, Optional<java.lang.Boolean> enableSnapMirrorReplication)
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 Optional<java.lang.Long> getNewAccountID()
public void setNewAccountID(Optional<java.lang.Long> newAccountID)
public Optional<java.lang.Long> getNewSize()
public void setNewSize(Optional<java.lang.Long> newSize)
public Optional<java.lang.String> getAccess()
public void setAccess(Optional<java.lang.String> access)
public Optional<java.lang.Long> getSnapshotID()
public void setSnapshotID(Optional<java.lang.Long> snapshotID)
public Optional<Attributes> getAttributes()
public void setAttributes(Optional<Attributes> attributes)
public Optional<java.lang.Boolean> getEnable512e()
public void setEnable512e(Optional<java.lang.Boolean> enable512e)
public Optional<java.lang.Boolean> getEnableSnapMirrorReplication()
public void setEnableSnapMirrorReplication(Optional<java.lang.Boolean> enableSnapMirrorReplication)
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 CloneVolumeRequest.Builder builder()
public final CloneVolumeRequest.Builder asBuilder()