Interface ElasticsearchClusterConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ElasticsearchClusterConfig.Builder,
,ElasticsearchClusterConfig> SdkBuilder<ElasticsearchClusterConfig.Builder,
,ElasticsearchClusterConfig> SdkPojo
- Enclosing class:
ElasticsearchClusterConfig
-
Method Summary
Modifier and TypeMethodDescriptioncoldStorageOptions
(Consumer<ColdStorageOptions.Builder> coldStorageOptions) Specifies theColdStorageOptions
config for Elasticsearch DomaincoldStorageOptions
(ColdStorageOptions coldStorageOptions) Specifies theColdStorageOptions
config for Elasticsearch DomaindedicatedMasterCount
(Integer dedicatedMasterCount) Total number of dedicated master nodes, active and on standby, for the cluster.dedicatedMasterEnabled
(Boolean dedicatedMasterEnabled) A boolean value to indicate whether a dedicated master node is enabled.dedicatedMasterType
(String dedicatedMasterType) The instance type for a dedicated master node.dedicatedMasterType
(ESPartitionInstanceType dedicatedMasterType) The instance type for a dedicated master node.instanceCount
(Integer instanceCount) The number of instances in the specified domain cluster.instanceType
(String instanceType) The instance type for an Elasticsearch cluster.instanceType
(ESPartitionInstanceType instanceType) The instance type for an Elasticsearch cluster.The number of warm nodes in the cluster.warmEnabled
(Boolean warmEnabled) True to enable warm storage.The instance type for the Elasticsearch cluster's warm nodes.warmType
(ESWarmPartitionInstanceType warmType) The instance type for the Elasticsearch cluster's warm nodes.zoneAwarenessConfig
(Consumer<ZoneAwarenessConfig.Builder> zoneAwarenessConfig) Specifies the zone awareness configuration for a domain when zone awareness is enabled.zoneAwarenessConfig
(ZoneAwarenessConfig zoneAwarenessConfig) Specifies the zone awareness configuration for a domain when zone awareness is enabled.zoneAwarenessEnabled
(Boolean zoneAwarenessEnabled) A boolean value to indicate whether zone awareness is enabled.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
instanceType
The instance type for an Elasticsearch cluster. UltraWarm instance types are not supported for data instances.
- Parameters:
instanceType
- The instance type for an Elasticsearch cluster. UltraWarm instance types are not supported for data instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceType
The instance type for an Elasticsearch cluster. UltraWarm instance types are not supported for data instances.
- Parameters:
instanceType
- The instance type for an Elasticsearch cluster. UltraWarm instance types are not supported for data instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceCount
The number of instances in the specified domain cluster.
- Parameters:
instanceCount
- The number of instances in the specified domain cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dedicatedMasterEnabled
A boolean value to indicate whether a dedicated master node is enabled. See About Dedicated Master Nodes for more information.
- Parameters:
dedicatedMasterEnabled
- A boolean value to indicate whether a dedicated master node is enabled. See About Dedicated Master Nodes for more information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zoneAwarenessEnabled
A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.
- Parameters:
zoneAwarenessEnabled
- A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zoneAwarenessConfig
Specifies the zone awareness configuration for a domain when zone awareness is enabled.
- Parameters:
zoneAwarenessConfig
- Specifies the zone awareness configuration for a domain when zone awareness is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zoneAwarenessConfig
default ElasticsearchClusterConfig.Builder zoneAwarenessConfig(Consumer<ZoneAwarenessConfig.Builder> zoneAwarenessConfig) Specifies the zone awareness configuration for a domain when zone awareness is enabled.
This is a convenience method that creates an instance of theZoneAwarenessConfig.Builder
avoiding the need to create one manually viaZoneAwarenessConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tozoneAwarenessConfig(ZoneAwarenessConfig)
.- Parameters:
zoneAwarenessConfig
- a consumer that will call methods onZoneAwarenessConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dedicatedMasterType
The instance type for a dedicated master node.
- Parameters:
dedicatedMasterType
- The instance type for a dedicated master node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dedicatedMasterType
The instance type for a dedicated master node.
- Parameters:
dedicatedMasterType
- The instance type for a dedicated master node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dedicatedMasterCount
Total number of dedicated master nodes, active and on standby, for the cluster.
- Parameters:
dedicatedMasterCount
- Total number of dedicated master nodes, active and on standby, for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warmEnabled
True to enable warm storage.
- Parameters:
warmEnabled
- True to enable warm storage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warmType
The instance type for the Elasticsearch cluster's warm nodes.
- Parameters:
warmType
- The instance type for the Elasticsearch cluster's warm nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
warmType
The instance type for the Elasticsearch cluster's warm nodes.
- Parameters:
warmType
- The instance type for the Elasticsearch cluster's warm nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
warmCount
The number of warm nodes in the cluster.
- Parameters:
warmCount
- The number of warm nodes in the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coldStorageOptions
Specifies the
ColdStorageOptions
config for Elasticsearch Domain- Parameters:
coldStorageOptions
- Specifies theColdStorageOptions
config for Elasticsearch Domain- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coldStorageOptions
default ElasticsearchClusterConfig.Builder coldStorageOptions(Consumer<ColdStorageOptions.Builder> coldStorageOptions) Specifies the
This is a convenience method that creates an instance of theColdStorageOptions
config for Elasticsearch DomainColdStorageOptions.Builder
avoiding the need to create one manually viaColdStorageOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocoldStorageOptions(ColdStorageOptions)
.- Parameters:
coldStorageOptions
- a consumer that will call methods onColdStorageOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-