@Stability(value=Stable) public static final class CfnDomain.ElasticsearchClusterConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDomain.ElasticsearchClusterConfigProperty>
CfnDomain.ElasticsearchClusterConfigProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnDomain.ElasticsearchClusterConfigProperty.Builder coldStorageOptions(CfnDomain.ColdStorageOptionsProperty coldStorageOptions)
CfnDomain.ElasticsearchClusterConfigProperty.getColdStorageOptions()coldStorageOptions - Specifies cold storage options for the domain.this@Stability(value=Stable) public CfnDomain.ElasticsearchClusterConfigProperty.Builder coldStorageOptions(IResolvable coldStorageOptions)
CfnDomain.ElasticsearchClusterConfigProperty.getColdStorageOptions()coldStorageOptions - Specifies cold storage options for the domain.this@Stability(value=Stable) public CfnDomain.ElasticsearchClusterConfigProperty.Builder dedicatedMasterCount(Number dedicatedMasterCount)
CfnDomain.ElasticsearchClusterConfigProperty.getDedicatedMasterCount()dedicatedMasterCount - The number of instances to use for the master node.
If you specify this property, you must specify true for the DedicatedMasterEnabled property.this@Stability(value=Stable) public CfnDomain.ElasticsearchClusterConfigProperty.Builder dedicatedMasterEnabled(Boolean dedicatedMasterEnabled)
CfnDomain.ElasticsearchClusterConfigProperty.getDedicatedMasterEnabled()dedicatedMasterEnabled - Indicates whether to use a dedicated master node for the OpenSearch Service domain.
A dedicated master node is a cluster node that performs cluster management tasks, but doesn't hold data or respond to data upload requests. Dedicated master nodes offload cluster management tasks to increase the stability of your search clusters. See Dedicated master nodes in Amazon OpenSearch Service .this@Stability(value=Stable) public CfnDomain.ElasticsearchClusterConfigProperty.Builder dedicatedMasterEnabled(IResolvable dedicatedMasterEnabled)
CfnDomain.ElasticsearchClusterConfigProperty.getDedicatedMasterEnabled()dedicatedMasterEnabled - Indicates whether to use a dedicated master node for the OpenSearch Service domain.
A dedicated master node is a cluster node that performs cluster management tasks, but doesn't hold data or respond to data upload requests. Dedicated master nodes offload cluster management tasks to increase the stability of your search clusters. See Dedicated master nodes in Amazon OpenSearch Service .this@Stability(value=Stable) public CfnDomain.ElasticsearchClusterConfigProperty.Builder dedicatedMasterType(String dedicatedMasterType)
CfnDomain.ElasticsearchClusterConfigProperty.getDedicatedMasterType()dedicatedMasterType - The hardware configuration of the computer that hosts the dedicated master node, such as `m3.medium.elasticsearch` . If you specify this property, you must specify true for the `DedicatedMasterEnabled` property. For valid values, see [Supported instance types in Amazon OpenSearch Service](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/supported-instance-types.html) .this@Stability(value=Stable) public CfnDomain.ElasticsearchClusterConfigProperty.Builder instanceCount(Number instanceCount)
CfnDomain.ElasticsearchClusterConfigProperty.getInstanceCount()instanceCount - The number of data nodes (instances) to use in the OpenSearch Service domain.this@Stability(value=Stable) public CfnDomain.ElasticsearchClusterConfigProperty.Builder instanceType(String instanceType)
CfnDomain.ElasticsearchClusterConfigProperty.getInstanceType()instanceType - The instance type for your data nodes, such as `m3.medium.elasticsearch` . For valid values, see [Supported instance types in Amazon OpenSearch Service](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/supported-instance-types.html) .this@Stability(value=Stable) public CfnDomain.ElasticsearchClusterConfigProperty.Builder warmCount(Number warmCount)
CfnDomain.ElasticsearchClusterConfigProperty.getWarmCount()warmCount - The number of warm nodes in the cluster.
Required if you enable warm storage.this@Stability(value=Stable) public CfnDomain.ElasticsearchClusterConfigProperty.Builder warmEnabled(Boolean warmEnabled)
CfnDomain.ElasticsearchClusterConfigProperty.getWarmEnabled()warmEnabled - Whether to enable warm storage for the cluster.this@Stability(value=Stable) public CfnDomain.ElasticsearchClusterConfigProperty.Builder warmEnabled(IResolvable warmEnabled)
CfnDomain.ElasticsearchClusterConfigProperty.getWarmEnabled()warmEnabled - Whether to enable warm storage for the cluster.this@Stability(value=Stable) public CfnDomain.ElasticsearchClusterConfigProperty.Builder warmType(String warmType)
CfnDomain.ElasticsearchClusterConfigProperty.getWarmType()warmType - The instance type for the cluster's warm nodes.
Required if you enable warm storage.this@Stability(value=Stable) public CfnDomain.ElasticsearchClusterConfigProperty.Builder zoneAwarenessConfig(CfnDomain.ZoneAwarenessConfigProperty zoneAwarenessConfig)
CfnDomain.ElasticsearchClusterConfigProperty.getZoneAwarenessConfig()zoneAwarenessConfig - Specifies zone awareness configuration options.
Only use if ZoneAwarenessEnabled is true .this@Stability(value=Stable) public CfnDomain.ElasticsearchClusterConfigProperty.Builder zoneAwarenessConfig(IResolvable zoneAwarenessConfig)
CfnDomain.ElasticsearchClusterConfigProperty.getZoneAwarenessConfig()zoneAwarenessConfig - Specifies zone awareness configuration options.
Only use if ZoneAwarenessEnabled is true .this@Stability(value=Stable) public CfnDomain.ElasticsearchClusterConfigProperty.Builder zoneAwarenessEnabled(Boolean zoneAwarenessEnabled)
CfnDomain.ElasticsearchClusterConfigProperty.getZoneAwarenessEnabled()zoneAwarenessEnabled - Indicates whether to enable zone awareness for the OpenSearch Service domain.
When you enable zone awareness, OpenSearch Service allocates the nodes and replica index shards that belong to a cluster across two Availability Zones (AZs) in the same region to prevent data loss and minimize downtime in the event of node or data center failure. Don't enable zone awareness if your cluster has no replica index shards or is a single-node cluster. For more information, see Configuring a multi-AZ domain in Amazon OpenSearch Service .this@Stability(value=Stable) public CfnDomain.ElasticsearchClusterConfigProperty.Builder zoneAwarenessEnabled(IResolvable zoneAwarenessEnabled)
CfnDomain.ElasticsearchClusterConfigProperty.getZoneAwarenessEnabled()zoneAwarenessEnabled - Indicates whether to enable zone awareness for the OpenSearch Service domain.
When you enable zone awareness, OpenSearch Service allocates the nodes and replica index shards that belong to a cluster across two Availability Zones (AZs) in the same region to prevent data loss and minimize downtime in the event of node or data center failure. Don't enable zone awareness if your cluster has no replica index shards or is a single-node cluster. For more information, see Configuring a multi-AZ domain in Amazon OpenSearch Service .this@Stability(value=Stable) public CfnDomain.ElasticsearchClusterConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnDomain.ElasticsearchClusterConfigProperty>CfnDomain.ElasticsearchClusterConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.