Class ElasticsearchClusterConfig
- All Implemented Interfaces:
Serializable, Cloneable
Specifies the configuration for the domain cluster, such as the type and number of instances.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanTotal number of dedicated master nodes, active and on standby, for the cluster.A boolean value to indicate whether a dedicated master node is enabled.The instance type for a dedicated master node.The number of instances in the specified domain cluster.The instance type for an Elasticsearch cluster.A boolean value to indicate whether zone awareness is enabled.inthashCode()A boolean value to indicate whether a dedicated master node is enabled.A boolean value to indicate whether zone awareness is enabled.voidsetDedicatedMasterCount(Integer dedicatedMasterCount) Total number of dedicated master nodes, active and on standby, for the cluster.voidsetDedicatedMasterEnabled(Boolean dedicatedMasterEnabled) A boolean value to indicate whether a dedicated master node is enabled.voidsetDedicatedMasterType(ESPartitionInstanceType dedicatedMasterType) The instance type for a dedicated master node.voidsetDedicatedMasterType(String dedicatedMasterType) The instance type for a dedicated master node.voidsetInstanceCount(Integer instanceCount) The number of instances in the specified domain cluster.voidsetInstanceType(ESPartitionInstanceType instanceType) The instance type for an Elasticsearch cluster.voidsetInstanceType(String instanceType) The instance type for an Elasticsearch cluster.voidsetZoneAwarenessEnabled(Boolean zoneAwarenessEnabled) A boolean value to indicate whether zone awareness is enabled.toString()Returns a string representation of this object; useful for testing and debugging.withDedicatedMasterCount(Integer dedicatedMasterCount) Total number of dedicated master nodes, active and on standby, for the cluster.withDedicatedMasterEnabled(Boolean dedicatedMasterEnabled) A boolean value to indicate whether a dedicated master node is enabled.withDedicatedMasterType(ESPartitionInstanceType dedicatedMasterType) The instance type for a dedicated master node.withDedicatedMasterType(String dedicatedMasterType) The instance type for a dedicated master node.withInstanceCount(Integer instanceCount) The number of instances in the specified domain cluster.withInstanceType(ESPartitionInstanceType instanceType) The instance type for an Elasticsearch cluster.withInstanceType(String instanceType) The instance type for an Elasticsearch cluster.withZoneAwarenessEnabled(Boolean zoneAwarenessEnabled) A boolean value to indicate whether zone awareness is enabled.
-
Constructor Details
-
ElasticsearchClusterConfig
public ElasticsearchClusterConfig()
-
-
Method Details
-
setInstanceType
The instance type for an Elasticsearch cluster.
- Parameters:
instanceType- The instance type for an Elasticsearch cluster.- See Also:
-
getInstanceType
The instance type for an Elasticsearch cluster.
- Returns:
- The instance type for an Elasticsearch cluster.
- See Also:
-
withInstanceType
The instance type for an Elasticsearch cluster.
- Parameters:
instanceType- The instance type for an Elasticsearch cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setInstanceType
The instance type for an Elasticsearch cluster.
- Parameters:
instanceType- The instance type for an Elasticsearch cluster.- See Also:
-
withInstanceType
The instance type for an Elasticsearch cluster.
- Parameters:
instanceType- The instance type for an Elasticsearch cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setInstanceCount
The number of instances in the specified domain cluster.
- Parameters:
instanceCount- The number of instances in the specified domain cluster.
-
getInstanceCount
The number of instances in the specified domain cluster.
- Returns:
- The number of instances in the specified domain cluster.
-
withInstanceCount
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.
-
setDedicatedMasterEnabled
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.
-
getDedicatedMasterEnabled
A boolean value to indicate whether a dedicated master node is enabled. See About Dedicated Master Nodes for more information.
- Returns:
- A boolean value to indicate whether a dedicated master node is enabled. See About Dedicated Master Nodes for more information.
-
withDedicatedMasterEnabled
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.
-
isDedicatedMasterEnabled
A boolean value to indicate whether a dedicated master node is enabled. See About Dedicated Master Nodes for more information.
- Returns:
- A boolean value to indicate whether a dedicated master node is enabled. See About Dedicated Master Nodes for more information.
-
setZoneAwarenessEnabled
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.
-
getZoneAwarenessEnabled
A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.
- Returns:
- A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.
-
withZoneAwarenessEnabled
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.
-
isZoneAwarenessEnabled
A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.
- Returns:
- A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.
-
setDedicatedMasterType
The instance type for a dedicated master node.
- Parameters:
dedicatedMasterType- The instance type for a dedicated master node.- See Also:
-
getDedicatedMasterType
The instance type for a dedicated master node.
- Returns:
- The instance type for a dedicated master node.
- See Also:
-
withDedicatedMasterType
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:
-
setDedicatedMasterType
The instance type for a dedicated master node.
- Parameters:
dedicatedMasterType- The instance type for a dedicated master node.- See Also:
-
withDedicatedMasterType
public ElasticsearchClusterConfig withDedicatedMasterType(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:
-
setDedicatedMasterCount
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.
-
getDedicatedMasterCount
Total number of dedicated master nodes, active and on standby, for the cluster.
- Returns:
- Total number of dedicated master nodes, active and on standby, for the cluster.
-
withDedicatedMasterCount
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.
-
toString
-
equals
-
hashCode
-
clone
-