@Stability(value=Experimental) public static final class CapacityConfig.Builder extends Object implements software.amazon.jsii.Builder<CapacityConfig>
CapacityConfig| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CapacityConfig |
build()
Builds the configured instance.
|
CapacityConfig.Builder |
dataNodeInstanceType(String dataNodeInstanceType)
Sets the value of
CapacityConfig.getDataNodeInstanceType() |
CapacityConfig.Builder |
dataNodes(Number dataNodes)
Sets the value of
CapacityConfig.getDataNodes() |
CapacityConfig.Builder |
masterNodeInstanceType(String masterNodeInstanceType)
Sets the value of
CapacityConfig.getMasterNodeInstanceType() |
CapacityConfig.Builder |
masterNodes(Number masterNodes)
Sets the value of
CapacityConfig.getMasterNodes() |
CapacityConfig.Builder |
warmInstanceType(String warmInstanceType)
Sets the value of
CapacityConfig.getWarmInstanceType() |
CapacityConfig.Builder |
warmNodes(Number warmNodes)
Sets the value of
CapacityConfig.getWarmNodes() |
@Stability(value=Experimental) public CapacityConfig.Builder dataNodeInstanceType(String dataNodeInstanceType)
CapacityConfig.getDataNodeInstanceType()dataNodeInstanceType - The instance type for your data nodes, 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.this@Stability(value=Experimental) public CapacityConfig.Builder dataNodes(Number dataNodes)
CapacityConfig.getDataNodes()dataNodes - The number of data nodes (instances) to use in the Amazon ES domain.this@Stability(value=Experimental) public CapacityConfig.Builder masterNodeInstanceType(String masterNodeInstanceType)
CapacityConfig.getMasterNodeInstanceType()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.this@Stability(value=Experimental) public CapacityConfig.Builder masterNodes(Number masterNodes)
CapacityConfig.getMasterNodes()masterNodes - The number of instances to use for the master node.this@Stability(value=Experimental) public CapacityConfig.Builder warmInstanceType(String warmInstanceType)
CapacityConfig.getWarmInstanceType()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.this@Stability(value=Experimental) public CapacityConfig.Builder warmNodes(Number warmNodes)
CapacityConfig.getWarmNodes()warmNodes - The number of UltraWarm nodes (instances) to use in the Amazon ES domain.this@Stability(value=Experimental) public CapacityConfig build()
build in interface software.amazon.jsii.Builder<CapacityConfig>CapacityConfigNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.