public class CreateVolumeRequest
extends java.lang.Object
implements java.io.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(java.lang.String name,
java.lang.Long accountID,
java.lang.Long totalSize,
Optional<java.lang.Boolean> enable512e,
Optional<QoS> qos,
Optional<Attributes> attributes,
Optional<java.lang.Boolean> associateWithQoSPolicy,
Optional<java.lang.String> access,
Optional<java.lang.Boolean> enableSnapMirrorReplication,
Optional<java.lang.Long> qosPolicyID,
Optional<java.lang.String> protectionScheme) |
CreateVolumeRequest(java.lang.String name,
java.lang.Long accountID,
java.lang.Long totalSize,
Optional<java.lang.Boolean> enable512e,
Optional<QoS> qos,
Optional<Attributes> attributes,
Optional<java.lang.Boolean> associateWithQoSPolicy,
Optional<java.lang.String> access,
Optional<java.lang.Boolean> enableSnapMirrorReplication,
Optional<java.lang.Long> qosPolicyID,
Optional<java.lang.String> protectionScheme,
Optional<java.lang.Long> fifoSize,
Optional<java.lang.Long> minFifoSize) |
CreateVolumeRequest(java.lang.String name,
java.lang.Long accountID,
java.lang.Long totalSize,
Optional<java.lang.Boolean> enable512e,
Optional<QoS> qos,
Optional<Attributes> attributes,
Optional<java.lang.String> protectionScheme) |
Modifier and Type | Method and Description |
---|---|
CreateVolumeRequest.Builder |
asBuilder() |
static CreateVolumeRequest.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Optional<java.lang.String> |
getAccess()
The access mode for the volume.
|
java.lang.Long |
getAccountID()
AccountID for the owner of this volume.
|
Optional<java.lang.Boolean> |
getAssociateWithQoSPolicy()
Associate the volume with the specified QoS policy.
|
Optional<Attributes> |
getAttributes()
The list of name-value pairs in JSON object format.
|
Optional<java.lang.Boolean> |
getEnable512e()
Specifies whether 512e emulation is enabled or not.
|
Optional<java.lang.Boolean> |
getEnableSnapMirrorReplication()
Specifies whether SnapMirror replication is enabled or not.
|
Optional<java.lang.Long> |
getFifoSize()
Specifies the maximum number of FIFO (First-In-First-Out) snapshots supported by the volume.
|
Optional<java.lang.Long> |
getMinFifoSize()
Specifies the number of snapshot slots that are reserved for only FIFO (First-In-First-Out) snapshots.
|
java.lang.String |
getName()
The name of the volume access group (might be user specified).
|
Optional<java.lang.String> |
getProtectionScheme()
Protection scheme that should be used for this volume.
|
Optional<QoS> |
getQos()
Initial quality of service settings for this volume.
|
Optional<java.lang.Long> |
getQosPolicyID()
The ID for the policy whose QoS settings should be applied to the specified volumes.
|
java.lang.Long |
getTotalSize()
Total size of the volume, in bytes.
|
int |
hashCode() |
void |
setAccess(Optional<java.lang.String> access) |
void |
setAccountID(java.lang.Long accountID) |
void |
setAssociateWithQoSPolicy(Optional<java.lang.Boolean> associateWithQoSPolicy) |
void |
setAttributes(Optional<Attributes> attributes) |
void |
setEnable512e(Optional<java.lang.Boolean> enable512e) |
void |
setEnableSnapMirrorReplication(Optional<java.lang.Boolean> enableSnapMirrorReplication) |
void |
setFifoSize(Optional<java.lang.Long> fifoSize) |
void |
setMinFifoSize(Optional<java.lang.Long> minFifoSize) |
void |
setName(java.lang.String name) |
void |
setProtectionScheme(Optional<java.lang.String> protectionScheme) |
void |
setQos(Optional<QoS> qos) |
void |
setQosPolicyID(Optional<java.lang.Long> qosPolicyID) |
void |
setTotalSize(java.lang.Long totalSize) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public CreateVolumeRequest(java.lang.String name, java.lang.Long accountID, java.lang.Long totalSize, Optional<java.lang.Boolean> enable512e, Optional<QoS> qos, Optional<Attributes> attributes, Optional<java.lang.String> protectionScheme)
@Since(value="10.0") public CreateVolumeRequest(java.lang.String name, java.lang.Long accountID, java.lang.Long totalSize, Optional<java.lang.Boolean> enable512e, Optional<QoS> qos, Optional<Attributes> attributes, Optional<java.lang.Boolean> associateWithQoSPolicy, Optional<java.lang.String> access, Optional<java.lang.Boolean> enableSnapMirrorReplication, Optional<java.lang.Long> qosPolicyID, Optional<java.lang.String> protectionScheme)
@Since(value="12.0") public CreateVolumeRequest(java.lang.String name, java.lang.Long accountID, java.lang.Long totalSize, Optional<java.lang.Boolean> enable512e, Optional<QoS> qos, Optional<Attributes> attributes, Optional<java.lang.Boolean> associateWithQoSPolicy, Optional<java.lang.String> access, Optional<java.lang.Boolean> enableSnapMirrorReplication, Optional<java.lang.Long> qosPolicyID, Optional<java.lang.String> protectionScheme, Optional<java.lang.Long> fifoSize, Optional<java.lang.Long> minFifoSize)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.Long getAccountID()
public void setAccountID(java.lang.Long accountID)
public java.lang.Long getTotalSize()
public void setTotalSize(java.lang.Long totalSize)
public Optional<java.lang.Boolean> getEnable512e()
public void setEnable512e(Optional<java.lang.Boolean> enable512e)
public Optional<QoS> getQos()
public Optional<Attributes> getAttributes()
public void setAttributes(Optional<Attributes> attributes)
public Optional<java.lang.Boolean> getAssociateWithQoSPolicy()
public void setAssociateWithQoSPolicy(Optional<java.lang.Boolean> associateWithQoSPolicy)
public Optional<java.lang.String> getAccess()
public void setAccess(Optional<java.lang.String> access)
public Optional<java.lang.Boolean> getEnableSnapMirrorReplication()
public void setEnableSnapMirrorReplication(Optional<java.lang.Boolean> enableSnapMirrorReplication)
public Optional<java.lang.Long> getQosPolicyID()
public void setQosPolicyID(Optional<java.lang.Long> qosPolicyID)
public Optional<java.lang.String> getProtectionScheme()
public void setProtectionScheme(Optional<java.lang.String> protectionScheme)
public Optional<java.lang.Long> getFifoSize()
public void setFifoSize(Optional<java.lang.Long> fifoSize)
public Optional<java.lang.Long> getMinFifoSize()
public void setMinFifoSize(Optional<java.lang.Long> minFifoSize)
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 CreateVolumeRequest.Builder builder()
public final CreateVolumeRequest.Builder asBuilder()