public static final class EbsOptions.Builder
extends java.lang.Object
EbsOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EbsOptions |
build()
Builds the configured instance.
|
EbsOptions.Builder |
enabled(java.lang.Boolean enabled)
Sets the value of
EbsOptions.getEnabled() |
EbsOptions.Builder |
iops(java.lang.Number iops)
Sets the value of
EbsOptions.getIops() |
EbsOptions.Builder |
volumeSize(java.lang.Number volumeSize)
Sets the value of
EbsOptions.getVolumeSize() |
EbsOptions.Builder |
volumeType(EbsDeviceVolumeType volumeType)
Sets the value of
EbsOptions.getVolumeType() |
public EbsOptions.Builder enabled(java.lang.Boolean enabled)
EbsOptions.getEnabled()
enabled
- Specifies whether Amazon EBS volumes are attached to data nodes in the Amazon OpenSearch Service domain.this
public EbsOptions.Builder iops(java.lang.Number iops)
EbsOptions.getIops()
iops
- The number of I/O operations per second (IOPS) that the volume supports.
This property applies only to the Provisioned IOPS (SSD) EBS
volume type.this
public EbsOptions.Builder volumeSize(java.lang.Number volumeSize)
EbsOptions.getVolumeSize()
volumeSize
- The size (in GiB) of the EBS volume for each data node.
The minimum and
maximum size of an EBS volume depends on the EBS volume type and the
instance type to which it is attached. For valid values, see
[EBS volume size limits]
(https://docs.aws.amazon.com/opensearch-service/latest/developerguide/limits.html#ebsresource)
in the Amazon OpenSearch Service Developer Guide.this
public EbsOptions.Builder volumeType(EbsDeviceVolumeType volumeType)
EbsOptions.getVolumeType()
volumeType
- The EBS volume type to use with the Amazon OpenSearch Service domain, such as standard, gp2, io1.this
public EbsOptions build()
EbsOptions
java.lang.NullPointerException
- if any required attribute was not provided