@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ElasticsearchClusterConfig extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the configuration for the domain cluster, such as the type and number of instances.
| Constructor and Description |
|---|
ElasticsearchClusterConfig() |
| Modifier and Type | Method and 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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.
|
public void setInstanceType(String instanceType)
The instance type for an Elasticsearch cluster.
instanceType - The instance type for an Elasticsearch cluster.ESPartitionInstanceTypepublic String getInstanceType()
The instance type for an Elasticsearch cluster.
ESPartitionInstanceTypepublic ElasticsearchClusterConfig withInstanceType(String instanceType)
The instance type for an Elasticsearch cluster.
instanceType - The instance type for an Elasticsearch cluster.ESPartitionInstanceTypepublic void setInstanceType(ESPartitionInstanceType instanceType)
The instance type for an Elasticsearch cluster.
instanceType - The instance type for an Elasticsearch cluster.ESPartitionInstanceTypepublic ElasticsearchClusterConfig withInstanceType(ESPartitionInstanceType instanceType)
The instance type for an Elasticsearch cluster.
instanceType - The instance type for an Elasticsearch cluster.ESPartitionInstanceTypepublic void setInstanceCount(Integer instanceCount)
The number of instances in the specified domain cluster.
instanceCount - The number of instances in the specified domain cluster.public Integer getInstanceCount()
The number of instances in the specified domain cluster.
public ElasticsearchClusterConfig withInstanceCount(Integer instanceCount)
The number of instances in the specified domain cluster.
instanceCount - The number of instances in the specified domain cluster.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.
dedicatedMasterEnabled - A boolean value to indicate whether a dedicated master node is enabled. See About Dedicated Master Nodes for more information.public Boolean getDedicatedMasterEnabled()
A boolean value to indicate whether a dedicated master node is enabled. See About Dedicated Master Nodes for more information.
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.
dedicatedMasterEnabled - A boolean value to indicate whether a dedicated master node is enabled. See About Dedicated Master Nodes for more information.public Boolean isDedicatedMasterEnabled()
A boolean value to indicate whether a dedicated master node is enabled. See About Dedicated Master Nodes for more information.
public void setZoneAwarenessEnabled(Boolean zoneAwarenessEnabled)
A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.
zoneAwarenessEnabled - A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.public Boolean getZoneAwarenessEnabled()
A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.
public ElasticsearchClusterConfig withZoneAwarenessEnabled(Boolean zoneAwarenessEnabled)
A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.
zoneAwarenessEnabled - A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.public Boolean isZoneAwarenessEnabled()
A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.
public void setDedicatedMasterType(String dedicatedMasterType)
The instance type for a dedicated master node.
dedicatedMasterType - The instance type for a dedicated master node.ESPartitionInstanceTypepublic String getDedicatedMasterType()
The instance type for a dedicated master node.
ESPartitionInstanceTypepublic ElasticsearchClusterConfig withDedicatedMasterType(String dedicatedMasterType)
The instance type for a dedicated master node.
dedicatedMasterType - The instance type for a dedicated master node.ESPartitionInstanceTypepublic void setDedicatedMasterType(ESPartitionInstanceType dedicatedMasterType)
The instance type for a dedicated master node.
dedicatedMasterType - The instance type for a dedicated master node.ESPartitionInstanceTypepublic ElasticsearchClusterConfig withDedicatedMasterType(ESPartitionInstanceType dedicatedMasterType)
The instance type for a dedicated master node.
dedicatedMasterType - The instance type for a dedicated master node.ESPartitionInstanceTypepublic void setDedicatedMasterCount(Integer dedicatedMasterCount)
Total number of dedicated master nodes, active and on standby, for the cluster.
dedicatedMasterCount - Total number of dedicated master nodes, active and on standby, for the cluster.public Integer getDedicatedMasterCount()
Total number of dedicated master nodes, active and on standby, for the cluster.
public ElasticsearchClusterConfig withDedicatedMasterCount(Integer dedicatedMasterCount)
Total number of dedicated master nodes, active and on standby, for the cluster.
dedicatedMasterCount - Total number of dedicated master nodes, active and on standby, for the cluster.public String toString()
toString in class ObjectObject.toString()public ElasticsearchClusterConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.