Interface ElasticsearchClusterConfig.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ElasticsearchClusterConfig.Builder,ElasticsearchClusterConfig>
,SdkBuilder<ElasticsearchClusterConfig.Builder,ElasticsearchClusterConfig>
,SdkPojo
- Enclosing class:
- ElasticsearchClusterConfig
public static interface ElasticsearchClusterConfig.Builder extends SdkPojo, CopyableBuilder<ElasticsearchClusterConfig.Builder,ElasticsearchClusterConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ElasticsearchClusterConfig.Builder
coldStorageOptions(Consumer<ColdStorageOptions.Builder> coldStorageOptions)
Specifies theColdStorageOptions
config for Elasticsearch DomainElasticsearchClusterConfig.Builder
coldStorageOptions(ColdStorageOptions coldStorageOptions)
Specifies theColdStorageOptions
config for Elasticsearch DomainElasticsearchClusterConfig.Builder
dedicatedMasterCount(Integer dedicatedMasterCount)
Total number of dedicated master nodes, active and on standby, for the cluster.ElasticsearchClusterConfig.Builder
dedicatedMasterEnabled(Boolean dedicatedMasterEnabled)
A boolean value to indicate whether a dedicated master node is enabled.ElasticsearchClusterConfig.Builder
dedicatedMasterType(String dedicatedMasterType)
The instance type for a dedicated master node.ElasticsearchClusterConfig.Builder
dedicatedMasterType(ESPartitionInstanceType dedicatedMasterType)
The instance type for a dedicated master node.ElasticsearchClusterConfig.Builder
instanceCount(Integer instanceCount)
The number of instances in the specified domain cluster.ElasticsearchClusterConfig.Builder
instanceType(String instanceType)
The instance type for an Elasticsearch cluster.ElasticsearchClusterConfig.Builder
instanceType(ESPartitionInstanceType instanceType)
The instance type for an Elasticsearch cluster.ElasticsearchClusterConfig.Builder
warmCount(Integer warmCount)
The number of warm nodes in the cluster.ElasticsearchClusterConfig.Builder
warmEnabled(Boolean warmEnabled)
True to enable warm storage.ElasticsearchClusterConfig.Builder
warmType(String warmType)
The instance type for the Elasticsearch cluster's warm nodes.ElasticsearchClusterConfig.Builder
warmType(ESWarmPartitionInstanceType warmType)
The instance type for the Elasticsearch cluster's warm nodes.default ElasticsearchClusterConfig.Builder
zoneAwarenessConfig(Consumer<ZoneAwarenessConfig.Builder> zoneAwarenessConfig)
Specifies the zone awareness configuration for a domain when zone awareness is enabled.ElasticsearchClusterConfig.Builder
zoneAwarenessConfig(ZoneAwarenessConfig zoneAwarenessConfig)
Specifies the zone awareness configuration for a domain when zone awareness is enabled.ElasticsearchClusterConfig.Builder
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 Detail
-
instanceType
ElasticsearchClusterConfig.Builder instanceType(String 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:
ESPartitionInstanceType
,ESPartitionInstanceType
-
instanceType
ElasticsearchClusterConfig.Builder instanceType(ESPartitionInstanceType 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:
ESPartitionInstanceType
,ESPartitionInstanceType
-
instanceCount
ElasticsearchClusterConfig.Builder instanceCount(Integer 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
ElasticsearchClusterConfig.Builder dedicatedMasterEnabled(Boolean 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
ElasticsearchClusterConfig.Builder zoneAwarenessEnabled(Boolean 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
ElasticsearchClusterConfig.Builder zoneAwarenessConfig(ZoneAwarenessConfig 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:
zoneAwarenessConfig(ZoneAwarenessConfig)
-
dedicatedMasterType
ElasticsearchClusterConfig.Builder dedicatedMasterType(String 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:
ESPartitionInstanceType
,ESPartitionInstanceType
-
dedicatedMasterType
ElasticsearchClusterConfig.Builder dedicatedMasterType(ESPartitionInstanceType 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:
ESPartitionInstanceType
,ESPartitionInstanceType
-
dedicatedMasterCount
ElasticsearchClusterConfig.Builder dedicatedMasterCount(Integer 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
ElasticsearchClusterConfig.Builder warmEnabled(Boolean 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
ElasticsearchClusterConfig.Builder warmType(String 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:
ESWarmPartitionInstanceType
,ESWarmPartitionInstanceType
-
warmType
ElasticsearchClusterConfig.Builder warmType(ESWarmPartitionInstanceType 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:
ESWarmPartitionInstanceType
,ESWarmPartitionInstanceType
-
warmCount
ElasticsearchClusterConfig.Builder warmCount(Integer 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
ElasticsearchClusterConfig.Builder coldStorageOptions(ColdStorageOptions 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:
coldStorageOptions(ColdStorageOptions)
-
-