public static final class EbsDeviceOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EbsDeviceOptions
EbsDeviceOptions
EbsDeviceOptions.Builder, EbsDeviceOptions.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Boolean |
getDeleteOnTermination()
Indicates whether to delete the volume when the instance is terminated.
|
java.lang.Boolean |
getEncrypted()
Specifies whether the EBS volume is encrypted.
|
java.lang.Number |
getIops()
The number of I/O operations per second (IOPS) to provision for the volume.
|
EbsDeviceVolumeType |
getVolumeType()
The EBS volume type.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Boolean getEncrypted()
EbsDeviceOptions
Encrypted EBS volumes can only be attached to instances that support Amazon EBS encryption
Default: false
getEncrypted
in interface EbsDeviceOptions
public final java.lang.Boolean getDeleteOnTermination()
EbsDeviceOptionsBase
Default: - true for Amazon EC2 Auto Scaling, false otherwise (e.g. EBS)
getDeleteOnTermination
in interface EbsDeviceOptionsBase
public final java.lang.Number getIops()
EbsDeviceOptionsBase
Must only be set for {@link volumeType}: {@link EbsDeviceVolumeType.IO1}
The maximum ratio of IOPS to volume size (in GiB) is 50:1, so for 5,000 provisioned IOPS, you need at least 100 GiB storage on the volume.
Default: - none, required for EbsDeviceVolumeType.IO1
getIops
in interface EbsDeviceOptionsBase
public final EbsDeviceVolumeType getVolumeType()
EbsDeviceOptionsBase
Default: EbsDeviceVolumeType.GP2
getVolumeType
in interface EbsDeviceOptionsBase
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()