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 ElasticsearchClusterConfigclone()booleanequals(Object obj)IntegergetDedicatedMasterCount()Total number of dedicated master nodes, active and on standby, for the cluster.BooleangetDedicatedMasterEnabled()A boolean value to indicate whether a dedicated master node is enabled.StringgetDedicatedMasterType()The instance type for a dedicated master node.IntegergetInstanceCount()The number of instances in the specified domain cluster.StringgetInstanceType()The instance type for an Elasticsearch cluster.BooleangetZoneAwarenessEnabled()A boolean value to indicate whether zone awareness is enabled.inthashCode()BooleanisDedicatedMasterEnabled()A boolean value to indicate whether a dedicated master node is enabled.BooleanisZoneAwarenessEnabled()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.StringtoString()Returns a string representation of this object; useful for testing and debugging.ElasticsearchClusterConfigwithDedicatedMasterCount(Integer dedicatedMasterCount)Total number of dedicated master nodes, active and on standby, for the cluster.ElasticsearchClusterConfigwithDedicatedMasterEnabled(Boolean dedicatedMasterEnabled)A boolean value to indicate whether a dedicated master node is enabled.ElasticsearchClusterConfigwithDedicatedMasterType(ESPartitionInstanceType dedicatedMasterType)The instance type for a dedicated master node.ElasticsearchClusterConfigwithDedicatedMasterType(String dedicatedMasterType)The instance type for a dedicated master node.ElasticsearchClusterConfigwithInstanceCount(Integer instanceCount)The number of instances in the specified domain cluster.ElasticsearchClusterConfigwithInstanceType(ESPartitionInstanceType instanceType)The instance type for an Elasticsearch cluster.ElasticsearchClusterConfigwithInstanceType(String instanceType)The instance type for an Elasticsearch cluster.ElasticsearchClusterConfigwithZoneAwarenessEnabled(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ElasticsearchClusterConfig clone()
-
-