public class CloneMultipleVolumeParams
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
CloneMultipleVolumeParams.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
CloneMultipleVolumeParams() |
CloneMultipleVolumeParams(java.lang.Long volumeID,
Optional<java.lang.String> access,
Optional<java.lang.String> name,
Optional<java.lang.Long> newAccountID,
Optional<java.lang.Long> newSize,
Optional<Attributes> attributes) |
Modifier and Type | Method and Description |
---|---|
CloneMultipleVolumeParams.Builder |
asBuilder() |
static CloneMultipleVolumeParams.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Optional<java.lang.String> |
getAccess()
Access settings for the new volume.
|
Optional<Attributes> |
getAttributes()
List of Name/Value pairs in JSON object format.
|
Optional<java.lang.String> |
getName()
New name for the clone.
|
Optional<java.lang.Long> |
getNewAccountID()
Account ID for the new volume.
|
Optional<java.lang.Long> |
getNewSize()
New size Total size of the volume, in bytes.
|
java.lang.Long |
getVolumeID()
Required parameter for "volumes" array: volumeID.
|
int |
hashCode() |
void |
setAccess(Optional<java.lang.String> access) |
void |
setAttributes(Optional<Attributes> attributes) |
void |
setName(Optional<java.lang.String> name) |
void |
setNewAccountID(Optional<java.lang.Long> newAccountID) |
void |
setNewSize(Optional<java.lang.Long> newSize) |
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
public java.lang.Long getVolumeID()
public void setVolumeID(java.lang.Long volumeID)
public Optional<java.lang.String> getAccess()
public void setAccess(Optional<java.lang.String> access)
public Optional<java.lang.String> getName()
public void setName(Optional<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<Attributes> getAttributes()
public void setAttributes(Optional<Attributes> attributes)
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 CloneMultipleVolumeParams.Builder builder()
public final CloneMultipleVolumeParams.Builder asBuilder()