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 Details

    • Builder

      public Builder()
      Deprecated.
  • Method Details

    • enabled

      @Stability(Deprecated) @Deprecated public EbsOptions.Builder enabled(Boolean enabled)
      Deprecated.
      use opensearchservice module instead
      Sets the value of EbsOptions.getEnabled()
      Parameters:
      enabled - Specifies whether Amazon EBS volumes are attached to data nodes in the Amazon ES domain.
      Returns:
      this
    • iops

      @Stability(Deprecated) @Deprecated public EbsOptions.Builder iops(Number iops)
      Deprecated.
      use opensearchservice module instead
      Sets the value of EbsOptions.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

      @Stability(Deprecated) @Deprecated public EbsOptions.Builder volumeSize(Number volumeSize)
      Deprecated.
      use opensearchservice module instead
      Sets the value of EbsOptions.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 instead
      Sets the value of EbsOptions.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

      @Stability(Deprecated) @Deprecated public EbsOptions build()
      Deprecated.
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<EbsOptions>
      Returns:
      a new instance of EbsOptions
      Throws:
      NullPointerException - if any required attribute was not provided