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.BuildercoldStorageOptions(Consumer<ColdStorageOptions.Builder> coldStorageOptions)Specifies theColdStorageOptionsconfig for Elasticsearch DomainElasticsearchClusterConfig.BuildercoldStorageOptions(ColdStorageOptions coldStorageOptions)Specifies theColdStorageOptionsconfig for Elasticsearch DomainElasticsearchClusterConfig.BuilderdedicatedMasterCount(Integer dedicatedMasterCount)Total number of dedicated master nodes, active and on standby, for the cluster.ElasticsearchClusterConfig.BuilderdedicatedMasterEnabled(Boolean dedicatedMasterEnabled)A boolean value to indicate whether a dedicated master node is enabled.ElasticsearchClusterConfig.BuilderdedicatedMasterType(String dedicatedMasterType)The instance type for a dedicated master node.ElasticsearchClusterConfig.BuilderdedicatedMasterType(ESPartitionInstanceType dedicatedMasterType)The instance type for a dedicated master node.ElasticsearchClusterConfig.BuilderinstanceCount(Integer instanceCount)The number of instances in the specified domain cluster.ElasticsearchClusterConfig.BuilderinstanceType(String instanceType)The instance type for an Elasticsearch cluster.ElasticsearchClusterConfig.BuilderinstanceType(ESPartitionInstanceType instanceType)The instance type for an Elasticsearch cluster.ElasticsearchClusterConfig.BuilderwarmCount(Integer warmCount)The number of warm nodes in the cluster.ElasticsearchClusterConfig.BuilderwarmEnabled(Boolean warmEnabled)True to enable warm storage.ElasticsearchClusterConfig.BuilderwarmType(String warmType)The instance type for the Elasticsearch cluster's warm nodes.ElasticsearchClusterConfig.BuilderwarmType(ESWarmPartitionInstanceType warmType)The instance type for the Elasticsearch cluster's warm nodes.default ElasticsearchClusterConfig.BuilderzoneAwarenessConfig(Consumer<ZoneAwarenessConfig.Builder> zoneAwarenessConfig)Specifies the zone awareness configuration for a domain when zone awareness is enabled.ElasticsearchClusterConfig.BuilderzoneAwarenessConfig(ZoneAwarenessConfig zoneAwarenessConfig)Specifies the zone awareness configuration for a domain when zone awareness is enabled.ElasticsearchClusterConfig.BuilderzoneAwarenessEnabled(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, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaZoneAwarenessConfig.builder().When the
Consumercompletes,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
ColdStorageOptionsconfig for Elasticsearch Domain- Parameters:
coldStorageOptions- Specifies theColdStorageOptionsconfig 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 theColdStorageOptionsconfig for Elasticsearch DomainColdStorageOptions.Builderavoiding the need to create one manually viaColdStorageOptions.builder().When the
Consumercompletes,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)
-
-