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:
  • Constructor Details

    • ElasticsearchClusterConfig

      public ElasticsearchClusterConfig()
  • Method Details

    • setInstanceType

      public void setInstanceType(String instanceType)

      The instance type for an Elasticsearch cluster.

      Parameters:
      instanceType - The instance type for an Elasticsearch cluster.
      See Also:
    • getInstanceType

      public String getInstanceType()

      The instance type for an Elasticsearch cluster.

      Returns:
      The instance type for an Elasticsearch cluster.
      See Also:
    • 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:
    • setInstanceType

      public void setInstanceType(ESPartitionInstanceType instanceType)

      The instance type for an Elasticsearch cluster.

      Parameters:
      instanceType - The instance type for an Elasticsearch cluster.
      See Also:
    • 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:
    • 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:
    • getDedicatedMasterType

      public String getDedicatedMasterType()

      The instance type for a dedicated master node.

      Returns:
      The instance type for a dedicated master node.
      See Also:
    • 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:
    • 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:
    • 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

      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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object