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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.dataNodeInstanceType
(String dataNodeInstanceType) Deprecated.use opensearchservice module insteadDeprecated.use opensearchservice module insteadmasterNodeInstanceType
(String masterNodeInstanceType) Deprecated.use opensearchservice module insteadmasterNodes
(Number masterNodes) Deprecated.use opensearchservice module insteadwarmInstanceType
(String warmInstanceType) Deprecated.use opensearchservice module insteadDeprecated.use opensearchservice module instead
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
dataNodeInstanceType
@Stability(Deprecated) @Deprecated public CapacityConfig.Builder dataNodeInstanceType(String dataNodeInstanceType) Deprecated.use opensearchservice module insteadSets the value ofCapacityConfig.getDataNodeInstanceType()
- Parameters:
dataNodeInstanceType
- The instance type for your data nodes, such asm3.medium.elasticsearch
. For valid values, see Supported Instance Types in the Amazon Elasticsearch Service Developer Guide.- Returns:
this
-
dataNodes
Deprecated.use opensearchservice module insteadSets the value ofCapacityConfig.getDataNodes()
- 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 insteadSets the value ofCapacityConfig.getMasterNodeInstanceType()
- Parameters:
masterNodeInstanceType
- The hardware configuration of the computer that hosts the dedicated master node, such asm3.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
Deprecated.use opensearchservice module insteadSets the value ofCapacityConfig.getMasterNodes()
- 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 insteadSets the value ofCapacityConfig.getWarmInstanceType()
- Parameters:
warmInstanceType
- The instance type for your UltraWarm node, such asultrawarm1.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
Deprecated.use opensearchservice module insteadSets the value ofCapacityConfig.getWarmNodes()
- Parameters:
warmNodes
- The number of UltraWarm nodes (instances) to use in the Amazon ES domain.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CapacityConfig>
- Returns:
- a new instance of
CapacityConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-