Class ElasticsearchClusterConfig

    • Constructor Detail

      • ElasticsearchClusterConfig

        public ElasticsearchClusterConfig()
    • 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 class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object