Class EbsOptions.Builder
java.lang.Object
software.amazon.awscdk.services.elasticsearch.EbsOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EbsOptions>
- Enclosing interface:
- EbsOptions
@Stability(Deprecated)
@Deprecated
public static final class EbsOptions.Builder
extends Object
implements software.amazon.jsii.Builder<EbsOptions>
Deprecated.
A builder for
EbsOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.Deprecated.use opensearchservice module insteadDeprecated.use opensearchservice module insteadvolumeSize
(Number volumeSize) Deprecated.use opensearchservice module insteadvolumeType
(EbsDeviceVolumeType volumeType) Deprecated.use opensearchservice module instead
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
enabled
Deprecated.use opensearchservice module insteadSets the value ofEbsOptions.getEnabled()
- Parameters:
enabled
- Specifies whether Amazon EBS volumes are attached to data nodes in the Amazon ES domain.- Returns:
this
-
iops
Deprecated.use opensearchservice module insteadSets the value ofEbsOptions.getIops()
- Parameters:
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.- Returns:
this
-
volumeSize
Deprecated.use opensearchservice module insteadSets the value ofEbsOptions.getVolumeSize()
- Parameters:
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 more information, see [Configuring EBS-based Storage] (https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-ebs) in the Amazon Elasticsearch Service Developer Guide.- Returns:
this
-
volumeType
@Stability(Deprecated) @Deprecated public EbsOptions.Builder volumeType(EbsDeviceVolumeType volumeType) Deprecated.use opensearchservice module insteadSets the value ofEbsOptions.getVolumeType()
- Parameters:
volumeType
- The EBS volume type to use with the Amazon ES domain, such as standard, gp2, io1. For more information, see[Configuring EBS-based Storage] (https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-ebs) in the Amazon Elasticsearch Service Developer Guide.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<EbsOptions>
- Returns:
- a new instance of
EbsOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-