public class CreateVolumeRequest
extends Object
implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateVolumeRequest.Builder |
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
CreateVolumeRequest() |
CreateVolumeRequest(String name,
Long accountID,
Long totalSize,
Boolean enable512e,
Optional<QoS> qos,
Optional<Map<String,Object>> attributes) |
| Modifier and Type | Method and Description |
|---|---|
CreateVolumeRequest.Builder |
asBuilder() |
static CreateVolumeRequest.Builder |
builder() |
boolean |
equals(Object o) |
Long |
getAccountID()
AccountID for the owner of this volume.
|
Optional<Map<String,Object>> |
getAttributes()
List of Name/Value pairs in JSON object format.
|
Boolean |
getEnable512e()
Should the volume provides 512-byte sector emulation?
|
String |
getName()
Name of the volume.
|
Optional<QoS> |
getQos()
Initial quality of service settings for this volume.
|
Long |
getTotalSize()
Total size of the volume, in bytes.
|
int |
hashCode() |
void |
setAccountID(Long accountID) |
void |
setAttributes(Optional<Map<String,Object>> attributes) |
void |
setEnable512e(Boolean enable512e) |
void |
setName(String name) |
void |
setQos(Optional<QoS> qos) |
void |
setTotalSize(Long totalSize) |
Map<String,Object> |
toMap() |
String |
toString() |
public static final long serialVersionUID
public String getName()
public void setName(String name)
public Long getAccountID()
public void setAccountID(Long accountID)
public Long getTotalSize()
public void setTotalSize(Long totalSize)
public Boolean getEnable512e()
public void setEnable512e(Boolean enable512e)
public Optional<QoS> getQos()
public Optional<Map<String,Object>> getAttributes()
public void setAttributes(Optional<Map<String,Object>> attributes)
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 CreateVolumeRequest.Builder builder()
public final CreateVolumeRequest.Builder asBuilder()
Copyright © 2014-2016 NetApp, Inc. All Rights Reserved.