public class EBSOptions
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Options to enable, disable, and specify the properties of EBS storage volumes. For more information, see Configuring EBS-based Storage.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
eBSEnabled
Specifies whether EBS-based storage is enabled.
|
private java.lang.Integer |
iops
Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).
|
private java.lang.Integer |
volumeSize
Integer to specify the size of an EBS volume.
|
private java.lang.String |
volumeType
Specifies the volume type for EBS-based storage.
|
Constructor and Description |
---|
EBSOptions() |
Modifier and Type | Method and Description |
---|---|
EBSOptions |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getEBSEnabled()
Specifies whether EBS-based storage is enabled.
|
java.lang.Integer |
getIops()
Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).
|
java.lang.Integer |
getVolumeSize()
Integer to specify the size of an EBS volume.
|
java.lang.String |
getVolumeType()
Specifies the volume type for EBS-based storage.
|
int |
hashCode() |
java.lang.Boolean |
isEBSEnabled()
Specifies whether EBS-based storage is enabled.
|
void |
setEBSEnabled(java.lang.Boolean eBSEnabled)
Specifies whether EBS-based storage is enabled.
|
void |
setIops(java.lang.Integer iops)
Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).
|
void |
setVolumeSize(java.lang.Integer volumeSize)
Integer to specify the size of an EBS volume.
|
void |
setVolumeType(java.lang.String volumeType)
Specifies the volume type for EBS-based storage.
|
void |
setVolumeType(VolumeType volumeType)
Specifies the volume type for EBS-based storage.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EBSOptions |
withEBSEnabled(java.lang.Boolean eBSEnabled)
Specifies whether EBS-based storage is enabled.
|
EBSOptions |
withIops(java.lang.Integer iops)
Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).
|
EBSOptions |
withVolumeSize(java.lang.Integer volumeSize)
Integer to specify the size of an EBS volume.
|
EBSOptions |
withVolumeType(java.lang.String volumeType)
Specifies the volume type for EBS-based storage.
|
EBSOptions |
withVolumeType(VolumeType volumeType)
Specifies the volume type for EBS-based storage.
|
private java.lang.Boolean eBSEnabled
Specifies whether EBS-based storage is enabled.
private java.lang.String volumeType
Specifies the volume type for EBS-based storage.
private java.lang.Integer volumeSize
Integer to specify the size of an EBS volume.
private java.lang.Integer iops
Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).
public void setEBSEnabled(java.lang.Boolean eBSEnabled)
Specifies whether EBS-based storage is enabled.
eBSEnabled
- Specifies whether EBS-based storage is enabled.public java.lang.Boolean getEBSEnabled()
Specifies whether EBS-based storage is enabled.
public EBSOptions withEBSEnabled(java.lang.Boolean eBSEnabled)
Specifies whether EBS-based storage is enabled.
eBSEnabled
- Specifies whether EBS-based storage is enabled.public java.lang.Boolean isEBSEnabled()
Specifies whether EBS-based storage is enabled.
public void setVolumeType(java.lang.String volumeType)
Specifies the volume type for EBS-based storage.
volumeType
- Specifies the volume type for EBS-based storage.VolumeType
public java.lang.String getVolumeType()
Specifies the volume type for EBS-based storage.
VolumeType
public EBSOptions withVolumeType(java.lang.String volumeType)
Specifies the volume type for EBS-based storage.
volumeType
- Specifies the volume type for EBS-based storage.VolumeType
public void setVolumeType(VolumeType volumeType)
Specifies the volume type for EBS-based storage.
volumeType
- Specifies the volume type for EBS-based storage.VolumeType
public EBSOptions withVolumeType(VolumeType volumeType)
Specifies the volume type for EBS-based storage.
volumeType
- Specifies the volume type for EBS-based storage.VolumeType
public void setVolumeSize(java.lang.Integer volumeSize)
Integer to specify the size of an EBS volume.
volumeSize
- Integer to specify the size of an EBS volume.public java.lang.Integer getVolumeSize()
Integer to specify the size of an EBS volume.
public EBSOptions withVolumeSize(java.lang.Integer volumeSize)
Integer to specify the size of an EBS volume.
volumeSize
- Integer to specify the size of an EBS volume.public void setIops(java.lang.Integer iops)
Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).
iops
- Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).public java.lang.Integer getIops()
Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).
public EBSOptions withIops(java.lang.Integer iops)
Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).
iops
- Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public EBSOptions clone()
clone
in class java.lang.Object