public class CloneVolumeRequest
extends Object
implements 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(Long volumeID,
String name,
Optional<Long> newAccountID,
Optional<Long> newSize,
Optional<String> access,
Optional<Long> snapshotID,
Optional<Attributes> attributes,
Optional<Boolean> enable512e) |
| Modifier and Type | Method and Description |
|---|---|
CloneVolumeRequest.Builder |
asBuilder() |
static CloneVolumeRequest.Builder |
builder() |
boolean |
equals(Object o) |
Optional<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<Boolean> |
getEnable512e()
Should the volume provide 512-byte sector emulation?
|
String |
getName()
The name of the new cloned volume.
|
Optional<Long> |
getNewAccountID()
AccountID for the owner of the new volume.
|
Optional<Long> |
getNewSize()
New size of the volume, in bytes.
|
Optional<Long> |
getSnapshotID()
ID of the snapshot that is used as the source of the clone.
|
Long |
getVolumeID()
VolumeID for the volume to be cloned.
|
int |
hashCode() |
void |
setAccess(Optional<String> access) |
void |
setAttributes(Optional<Attributes> attributes) |
void |
setEnable512e(Optional<Boolean> enable512e) |
void |
setName(String name) |
void |
setNewAccountID(Optional<Long> newAccountID) |
void |
setNewSize(Optional<Long> newSize) |
void |
setSnapshotID(Optional<Long> snapshotID) |
void |
setVolumeID(Long volumeID) |
Map<String,Object> |
toMap() |
String |
toString() |
public static final long serialVersionUID
public Long getVolumeID()
public void setVolumeID(Long volumeID)
public String getName()
public void setName(String name)
public Optional<Long> getNewAccountID()
public void setNewAccountID(Optional<Long> newAccountID)
public Optional<Long> getNewSize()
public void setNewSize(Optional<Long> newSize)
public Optional<String> getAccess()
public void setAccess(Optional<String> access)
public Optional<Long> getSnapshotID()
public void setSnapshotID(Optional<Long> snapshotID)
public Optional<Attributes> getAttributes()
public void setAttributes(Optional<Attributes> attributes)
public Optional<Boolean> getEnable512e()
public void setEnable512e(Optional<Boolean> enable512e)
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic Map<String,Object> toMap()
public String toString()
toString in class Objectpublic static CloneVolumeRequest.Builder builder()
public final CloneVolumeRequest.Builder asBuilder()
Copyright © 2014-2016 NetApp, Inc. All Rights Reserved.