Class CapacityConfig.Builder

java.lang.Object
software.amazon.awscdk.services.elasticsearch.CapacityConfig.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CapacityConfig>
Enclosing interface:
CapacityConfig

@Stability(Deprecated) @Deprecated public static final class CapacityConfig.Builder extends Object implements software.amazon.jsii.Builder<CapacityConfig>
Deprecated.
A builder for CapacityConfig
  • Constructor Details

    • Builder

      public Builder()
      Deprecated.
  • Method Details

    • dataNodeInstanceType

      @Stability(Deprecated) @Deprecated public CapacityConfig.Builder dataNodeInstanceType(String dataNodeInstanceType)
      Deprecated.
      use opensearchservice module instead
      Parameters:
      dataNodeInstanceType - The instance type for your data nodes, such as m3.medium.elasticsearch. For valid values, see Supported Instance Types in the Amazon Elasticsearch Service Developer Guide.
      Returns:
      this
    • dataNodes

      @Stability(Deprecated) @Deprecated public CapacityConfig.Builder dataNodes(Number dataNodes)
      Deprecated.
      use opensearchservice module instead
      Parameters:
      dataNodes - The number of data nodes (instances) to use in the Amazon ES domain.
      Returns:
      this
    • masterNodeInstanceType

      @Stability(Deprecated) @Deprecated public CapacityConfig.Builder masterNodeInstanceType(String masterNodeInstanceType)
      Deprecated.
      use opensearchservice module instead
      Parameters:
      masterNodeInstanceType - The hardware configuration of the computer that hosts the dedicated master node, such as m3.medium.elasticsearch. For valid values, see [Supported Instance Types] (https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/aes-supported-instance-types.html) in the Amazon Elasticsearch Service Developer Guide.
      Returns:
      this
    • masterNodes

      @Stability(Deprecated) @Deprecated public CapacityConfig.Builder masterNodes(Number masterNodes)
      Deprecated.
      use opensearchservice module instead
      Parameters:
      masterNodes - The number of instances to use for the master node.
      Returns:
      this
    • warmInstanceType

      @Stability(Deprecated) @Deprecated public CapacityConfig.Builder warmInstanceType(String warmInstanceType)
      Deprecated.
      use opensearchservice module instead
      Parameters:
      warmInstanceType - The instance type for your UltraWarm node, such as ultrawarm1.medium.elasticsearch. For valid values, see [UltraWarm Storage Limits] (https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/aes-limits.html#limits-ultrawarm) in the Amazon Elasticsearch Service Developer Guide.
      Returns:
      this
    • warmNodes

      @Stability(Deprecated) @Deprecated public CapacityConfig.Builder warmNodes(Number warmNodes)
      Deprecated.
      use opensearchservice module instead
      Parameters:
      warmNodes - The number of UltraWarm nodes (instances) to use in the Amazon ES domain.
      Returns:
      this
    • build

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