public static interface ClusterConfig.Builder extends SdkPojo, CopyableBuilder<ClusterConfig.Builder,ClusterConfig>
| Modifier and Type | Method and Description |
|---|---|
ClusterConfig.Builder |
coldStorageOptions(ColdStorageOptions coldStorageOptions)
Container for cold storage configuration options.
|
default ClusterConfig.Builder |
coldStorageOptions(Consumer<ColdStorageOptions.Builder> coldStorageOptions)
Container for cold storage configuration options.
|
ClusterConfig.Builder |
dedicatedMasterCount(Integer dedicatedMasterCount)
Number of dedicated master nodes in the cluster.
|
ClusterConfig.Builder |
dedicatedMasterEnabled(Boolean dedicatedMasterEnabled)
Indicates whether dedicated master nodes are enabled for the cluster.
True if the cluster will
use a dedicated master node.False if the cluster will not. |
ClusterConfig.Builder |
dedicatedMasterType(OpenSearchPartitionInstanceType dedicatedMasterType)
OpenSearch Service instance type of the dedicated master nodes in the cluster.
|
ClusterConfig.Builder |
dedicatedMasterType(String dedicatedMasterType)
OpenSearch Service instance type of the dedicated master nodes in the cluster.
|
ClusterConfig.Builder |
instanceCount(Integer instanceCount)
Number of dedicated master nodes in the cluster.
|
ClusterConfig.Builder |
instanceType(OpenSearchPartitionInstanceType instanceType)
Instance type of data nodes in the cluster.
|
ClusterConfig.Builder |
instanceType(String instanceType)
Instance type of data nodes in the cluster.
|
ClusterConfig.Builder |
multiAZWithStandbyEnabled(Boolean multiAZWithStandbyEnabled)
A boolean that indicates whether a multi-AZ domain is turned on with a standby AZ.
|
ClusterConfig.Builder |
warmCount(Integer warmCount)
The number of warm nodes in the cluster.
|
ClusterConfig.Builder |
warmEnabled(Boolean warmEnabled)
Whether to enable warm storage for the cluster.
|
ClusterConfig.Builder |
warmType(OpenSearchWarmPartitionInstanceType warmType)
The instance type for the cluster's warm nodes.
|
ClusterConfig.Builder |
warmType(String warmType)
The instance type for the cluster's warm nodes.
|
default ClusterConfig.Builder |
zoneAwarenessConfig(Consumer<ZoneAwarenessConfig.Builder> zoneAwarenessConfig)
Container for zone awareness configuration options.
|
ClusterConfig.Builder |
zoneAwarenessConfig(ZoneAwarenessConfig zoneAwarenessConfig)
Container for zone awareness configuration options.
|
ClusterConfig.Builder |
zoneAwarenessEnabled(Boolean zoneAwarenessEnabled)
Indicates whether multiple Availability Zones are enabled.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildClusterConfig.Builder instanceType(String instanceType)
Instance type of data nodes in the cluster.
instanceType - Instance type of data nodes in the cluster.OpenSearchPartitionInstanceType,
OpenSearchPartitionInstanceTypeClusterConfig.Builder instanceType(OpenSearchPartitionInstanceType instanceType)
Instance type of data nodes in the cluster.
instanceType - Instance type of data nodes in the cluster.OpenSearchPartitionInstanceType,
OpenSearchPartitionInstanceTypeClusterConfig.Builder instanceCount(Integer instanceCount)
Number of dedicated master nodes in the cluster. This number must be greater than 1, otherwise you receive a validation exception.
instanceCount - Number of dedicated master nodes in the cluster. This number must be greater than 1, otherwise you
receive a validation exception.ClusterConfig.Builder dedicatedMasterEnabled(Boolean dedicatedMasterEnabled)
Indicates whether dedicated master nodes are enabled for the cluster.True if the cluster will
use a dedicated master node.False if the cluster will not.
dedicatedMasterEnabled - Indicates whether dedicated master nodes are enabled for the cluster.True if the cluster
will use a dedicated master node.False if the cluster will not.ClusterConfig.Builder zoneAwarenessEnabled(Boolean zoneAwarenessEnabled)
Indicates whether multiple Availability Zones are enabled. For more information, see Configuring a multi-AZ domain in Amazon OpenSearch Service.
zoneAwarenessEnabled - Indicates whether multiple Availability Zones are enabled. For more information, see Configuring a multi-AZ domain in Amazon OpenSearch Service.ClusterConfig.Builder zoneAwarenessConfig(ZoneAwarenessConfig zoneAwarenessConfig)
Container for zone awareness configuration options. Only required if ZoneAwarenessEnabled is
true.
zoneAwarenessConfig - Container for zone awareness configuration options. Only required if ZoneAwarenessEnabled
is true.default ClusterConfig.Builder zoneAwarenessConfig(Consumer<ZoneAwarenessConfig.Builder> zoneAwarenessConfig)
Container for zone awareness configuration options. Only required if ZoneAwarenessEnabled is
true.
ZoneAwarenessConfig.Builder avoiding the
need to create one manually via ZoneAwarenessConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to zoneAwarenessConfig(ZoneAwarenessConfig).
zoneAwarenessConfig - a consumer that will call methods on ZoneAwarenessConfig.BuilderzoneAwarenessConfig(ZoneAwarenessConfig)ClusterConfig.Builder dedicatedMasterType(String dedicatedMasterType)
OpenSearch Service instance type of the dedicated master nodes in the cluster.
dedicatedMasterType - OpenSearch Service instance type of the dedicated master nodes in the cluster.OpenSearchPartitionInstanceType,
OpenSearchPartitionInstanceTypeClusterConfig.Builder dedicatedMasterType(OpenSearchPartitionInstanceType dedicatedMasterType)
OpenSearch Service instance type of the dedicated master nodes in the cluster.
dedicatedMasterType - OpenSearch Service instance type of the dedicated master nodes in the cluster.OpenSearchPartitionInstanceType,
OpenSearchPartitionInstanceTypeClusterConfig.Builder dedicatedMasterCount(Integer dedicatedMasterCount)
Number of dedicated master nodes in the cluster. This number must be greater than 2 and not 4, otherwise you receive a validation exception.
dedicatedMasterCount - Number of dedicated master nodes in the cluster. This number must be greater than 2 and not 4,
otherwise you receive a validation exception.ClusterConfig.Builder warmEnabled(Boolean warmEnabled)
Whether to enable warm storage for the cluster.
warmEnabled - Whether to enable warm storage for the cluster.ClusterConfig.Builder warmType(String warmType)
The instance type for the cluster's warm nodes.
warmType - The instance type for the cluster's warm nodes.OpenSearchWarmPartitionInstanceType,
OpenSearchWarmPartitionInstanceTypeClusterConfig.Builder warmType(OpenSearchWarmPartitionInstanceType warmType)
The instance type for the cluster's warm nodes.
warmType - The instance type for the cluster's warm nodes.OpenSearchWarmPartitionInstanceType,
OpenSearchWarmPartitionInstanceTypeClusterConfig.Builder warmCount(Integer warmCount)
The number of warm nodes in the cluster.
warmCount - The number of warm nodes in the cluster.ClusterConfig.Builder coldStorageOptions(ColdStorageOptions coldStorageOptions)
Container for cold storage configuration options.
coldStorageOptions - Container for cold storage configuration options.default ClusterConfig.Builder coldStorageOptions(Consumer<ColdStorageOptions.Builder> coldStorageOptions)
Container for cold storage configuration options.
This is a convenience method that creates an instance of theColdStorageOptions.Builder avoiding the
need to create one manually via ColdStorageOptions.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to coldStorageOptions(ColdStorageOptions).
coldStorageOptions - a consumer that will call methods on ColdStorageOptions.BuildercoldStorageOptions(ColdStorageOptions)ClusterConfig.Builder multiAZWithStandbyEnabled(Boolean multiAZWithStandbyEnabled)
A boolean that indicates whether a multi-AZ domain is turned on with a standby AZ. For more information, see Configuring a multi-AZ domain in Amazon OpenSearch Service.
multiAZWithStandbyEnabled - A boolean that indicates whether a multi-AZ domain is turned on with a standby AZ. For more
information, see Configuring a multi-AZ domain in Amazon OpenSearch Service.Copyright © 2023. All rights reserved.