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<Attributes> attributes) |
CreateVolumeRequest(String name,
Long accountID,
Long totalSize,
Boolean enable512e,
Optional<QoS> qos,
Optional<Attributes> attributes,
Optional<Boolean> associateWithQoSPolicy,
Optional<Long> qosPolicyID) |
| 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<Boolean> |
getAssociateWithQoSPolicy()
Associate the volume with the specified QoS policy.
|
Optional<Attributes> |
getAttributes()
The list of name-value pairs in JSON object format.
|
Boolean |
getEnable512e()
Specifies whether 512e emulation is enabled or not.
|
String |
getName()
The name of the volume access group (might be user specified).
|
Optional<QoS> |
getQos()
Initial quality of service settings for this volume.
|
Optional<Long> |
getQosPolicyID()
The ID for the policy whose QoS settings should be applied to the specified volumes.
|
Long |
getTotalSize()
Total size of the volume, in bytes.
|
int |
hashCode() |
void |
setAccountID(Long accountID) |
void |
setAssociateWithQoSPolicy(Optional<Boolean> associateWithQoSPolicy) |
void |
setAttributes(Optional<Attributes> attributes) |
void |
setEnable512e(Boolean enable512e) |
void |
setName(String name) |
void |
setQos(Optional<QoS> qos) |
void |
setQosPolicyID(Optional<Long> qosPolicyID) |
void |
setTotalSize(Long totalSize) |
Map<String,Object> |
toMap() |
String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public CreateVolumeRequest(String name, Long accountID, Long totalSize, Boolean enable512e, Optional<QoS> qos, Optional<Attributes> attributes)
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<Attributes> getAttributes()
public void setAttributes(Optional<Attributes> attributes)
public Optional<Boolean> getAssociateWithQoSPolicy()
public void setAssociateWithQoSPolicy(Optional<Boolean> associateWithQoSPolicy)
public Optional<Long> getQosPolicyID()
public void setQosPolicyID(Optional<Long> qosPolicyID)
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.