Class ElasticsearchClusterConfig
- java.lang.Object
-
- com.amazonaws.services.elasticsearch.model.ElasticsearchClusterConfig
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ElasticsearchClusterConfig extends Object implements Serializable, Cloneable
Specifies the configuration for the domain cluster, such as the type and number of instances.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ElasticsearchClusterConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElasticsearchClusterConfig
clone()
boolean
equals(Object obj)
Integer
getDedicatedMasterCount()
Total number of dedicated master nodes, active and on standby, for the cluster.Boolean
getDedicatedMasterEnabled()
A boolean value to indicate whether a dedicated master node is enabled.String
getDedicatedMasterType()
The instance type for a dedicated master node.Integer
getInstanceCount()
The number of instances in the specified domain cluster.String
getInstanceType()
The instance type for an Elasticsearch cluster.Boolean
getZoneAwarenessEnabled()
A boolean value to indicate whether zone awareness is enabled.int
hashCode()
Boolean
isDedicatedMasterEnabled()
A boolean value to indicate whether a dedicated master node is enabled.Boolean
isZoneAwarenessEnabled()
A boolean value to indicate whether zone awareness is enabled.void
setDedicatedMasterCount(Integer dedicatedMasterCount)
Total number of dedicated master nodes, active and on standby, for the cluster.void
setDedicatedMasterEnabled(Boolean dedicatedMasterEnabled)
A boolean value to indicate whether a dedicated master node is enabled.void
setDedicatedMasterType(ESPartitionInstanceType dedicatedMasterType)
The instance type for a dedicated master node.void
setDedicatedMasterType(String dedicatedMasterType)
The instance type for a dedicated master node.void
setInstanceCount(Integer instanceCount)
The number of instances in the specified domain cluster.void
setInstanceType(ESPartitionInstanceType instanceType)
The instance type for an Elasticsearch cluster.void
setInstanceType(String instanceType)
The instance type for an Elasticsearch cluster.void
setZoneAwarenessEnabled(Boolean zoneAwarenessEnabled)
A boolean value to indicate whether zone awareness is enabled.String
toString()
Returns a string representation of this object; useful for testing and debugging.ElasticsearchClusterConfig
withDedicatedMasterCount(Integer dedicatedMasterCount)
Total number of dedicated master nodes, active and on standby, for the cluster.ElasticsearchClusterConfig
withDedicatedMasterEnabled(Boolean dedicatedMasterEnabled)
A boolean value to indicate whether a dedicated master node is enabled.ElasticsearchClusterConfig
withDedicatedMasterType(ESPartitionInstanceType dedicatedMasterType)
The instance type for a dedicated master node.ElasticsearchClusterConfig
withDedicatedMasterType(String dedicatedMasterType)
The instance type for a dedicated master node.ElasticsearchClusterConfig
withInstanceCount(Integer instanceCount)
The number of instances in the specified domain cluster.ElasticsearchClusterConfig
withInstanceType(ESPartitionInstanceType instanceType)
The instance type for an Elasticsearch cluster.ElasticsearchClusterConfig
withInstanceType(String instanceType)
The instance type for an Elasticsearch cluster.ElasticsearchClusterConfig
withZoneAwarenessEnabled(Boolean zoneAwarenessEnabled)
A boolean value to indicate whether zone awareness is enabled.
-
-
-
Method Detail
-
setInstanceType
public void setInstanceType(String instanceType)
The instance type for an Elasticsearch cluster.
- Parameters:
instanceType
- The instance type for an Elasticsearch cluster.- See Also:
ESPartitionInstanceType
-
getInstanceType
public String getInstanceType()
The instance type for an Elasticsearch cluster.
- Returns:
- The instance type for an Elasticsearch cluster.
- See Also:
ESPartitionInstanceType
-
withInstanceType
public ElasticsearchClusterConfig withInstanceType(String instanceType)
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:
ESPartitionInstanceType
-
setInstanceType
public void setInstanceType(ESPartitionInstanceType instanceType)
The instance type for an Elasticsearch cluster.
- Parameters:
instanceType
- The instance type for an Elasticsearch cluster.- See Also:
ESPartitionInstanceType
-
withInstanceType
public ElasticsearchClusterConfig withInstanceType(ESPartitionInstanceType instanceType)
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:
ESPartitionInstanceType
-
setInstanceCount
public void setInstanceCount(Integer instanceCount)
The number of instances in the specified domain cluster.
- Parameters:
instanceCount
- The number of instances in the specified domain cluster.
-
getInstanceCount
public Integer getInstanceCount()
The number of instances in the specified domain cluster.
- Returns:
- The number of instances in the specified domain cluster.
-
withInstanceCount
public ElasticsearchClusterConfig withInstanceCount(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.
-
setDedicatedMasterEnabled
public void setDedicatedMasterEnabled(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.
-
getDedicatedMasterEnabled
public Boolean 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
public ElasticsearchClusterConfig withDedicatedMasterEnabled(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.
-
isDedicatedMasterEnabled
public Boolean 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
public void setZoneAwarenessEnabled(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.
-
getZoneAwarenessEnabled
public Boolean 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
public ElasticsearchClusterConfig withZoneAwarenessEnabled(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.
-
isZoneAwarenessEnabled
public Boolean 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
public void setDedicatedMasterType(String dedicatedMasterType)
The instance type for a dedicated master node.
- Parameters:
dedicatedMasterType
- The instance type for a dedicated master node.- See Also:
ESPartitionInstanceType
-
getDedicatedMasterType
public String getDedicatedMasterType()
The instance type for a dedicated master node.
- Returns:
- The instance type for a dedicated master node.
- See Also:
ESPartitionInstanceType
-
withDedicatedMasterType
public ElasticsearchClusterConfig withDedicatedMasterType(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
-
setDedicatedMasterType
public void setDedicatedMasterType(ESPartitionInstanceType dedicatedMasterType)
The instance type for a dedicated master node.
- Parameters:
dedicatedMasterType
- The instance type for a dedicated master node.- See Also:
ESPartitionInstanceType
-
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:
ESPartitionInstanceType
-
setDedicatedMasterCount
public void setDedicatedMasterCount(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.
-
getDedicatedMasterCount
public Integer 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
public ElasticsearchClusterConfig withDedicatedMasterCount(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.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ElasticsearchClusterConfig clone()
-
-