@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) |
ColdStorageOptions |
getColdStorageOptions()
Specifies the
ColdStorageOptions config for Elasticsearch Domain |
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.
|
Integer |
getWarmCount()
The number of warm nodes in the cluster.
|
Boolean |
getWarmEnabled()
True to enable warm storage.
|
String |
getWarmType()
The instance type for the Elasticsearch cluster's warm nodes.
|
ZoneAwarenessConfig |
getZoneAwarenessConfig()
Specifies the zone awareness configuration for a domain when zone awareness is enabled.
|
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 |
isWarmEnabled()
True to enable warm storage.
|
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 |
setColdStorageOptions(ColdStorageOptions coldStorageOptions)
Specifies the
ColdStorageOptions config for Elasticsearch Domain |
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 |
setWarmCount(Integer warmCount)
The number of warm nodes in the cluster.
|
void |
setWarmEnabled(Boolean warmEnabled)
True to enable warm storage.
|
void |
setWarmType(ESWarmPartitionInstanceType warmType)
The instance type for the Elasticsearch cluster's warm nodes.
|
void |
setWarmType(String warmType)
The instance type for the Elasticsearch cluster's warm nodes.
|
void |
setZoneAwarenessConfig(ZoneAwarenessConfig zoneAwarenessConfig)
Specifies the zone awareness configuration for a domain when zone awareness is enabled.
|
void |
setZoneAwarenessEnabled(Boolean zoneAwarenessEnabled)
A boolean value to indicate whether zone awareness is enabled.
|
String |
toString()
Returns a string representation of this object.
|
ElasticsearchClusterConfig |
withColdStorageOptions(ColdStorageOptions coldStorageOptions)
Specifies the
ColdStorageOptions config for Elasticsearch Domain |
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 |
withWarmCount(Integer warmCount)
The number of warm nodes in the cluster.
|
ElasticsearchClusterConfig |
withWarmEnabled(Boolean warmEnabled)
True to enable warm storage.
|
ElasticsearchClusterConfig |
withWarmType(ESWarmPartitionInstanceType warmType)
The instance type for the Elasticsearch cluster's warm nodes.
|
ElasticsearchClusterConfig |
withWarmType(String warmType)
The instance type for the Elasticsearch cluster's warm nodes.
|
ElasticsearchClusterConfig |
withZoneAwarenessConfig(ZoneAwarenessConfig zoneAwarenessConfig)
Specifies the zone awareness configuration for a domain when zone awareness is enabled.
|
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. UltraWarm instance types are not supported for data instances.
instanceType
- The instance type for an Elasticsearch cluster. UltraWarm instance types are not supported for data
instances.ESPartitionInstanceType
public String getInstanceType()
The instance type for an Elasticsearch cluster. UltraWarm instance types are not supported for data instances.
ESPartitionInstanceType
public ElasticsearchClusterConfig withInstanceType(String instanceType)
The instance type for an Elasticsearch cluster. UltraWarm instance types are not supported for data instances.
instanceType
- The instance type for an Elasticsearch cluster. UltraWarm instance types are not supported for data
instances.ESPartitionInstanceType
public void setInstanceType(ESPartitionInstanceType instanceType)
The instance type for an Elasticsearch cluster. UltraWarm instance types are not supported for data instances.
instanceType
- The instance type for an Elasticsearch cluster. UltraWarm instance types are not supported for data
instances.ESPartitionInstanceType
public ElasticsearchClusterConfig withInstanceType(ESPartitionInstanceType instanceType)
The instance type for an Elasticsearch cluster. UltraWarm instance types are not supported for data instances.
instanceType
- The instance type for an Elasticsearch cluster. UltraWarm instance types are not supported for data
instances.ESPartitionInstanceType
public 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 setZoneAwarenessConfig(ZoneAwarenessConfig zoneAwarenessConfig)
Specifies the zone awareness configuration for a domain when zone awareness is enabled.
zoneAwarenessConfig
- Specifies the zone awareness configuration for a domain when zone awareness is enabled.public ZoneAwarenessConfig getZoneAwarenessConfig()
Specifies the zone awareness configuration for a domain when zone awareness is enabled.
public ElasticsearchClusterConfig withZoneAwarenessConfig(ZoneAwarenessConfig zoneAwarenessConfig)
Specifies the zone awareness configuration for a domain when zone awareness is enabled.
zoneAwarenessConfig
- Specifies the zone awareness configuration for a domain when zone awareness is enabled.public void setDedicatedMasterType(String dedicatedMasterType)
The instance type for a dedicated master node.
dedicatedMasterType
- The instance type for a dedicated master node.ESPartitionInstanceType
public String getDedicatedMasterType()
The instance type for a dedicated master node.
ESPartitionInstanceType
public ElasticsearchClusterConfig withDedicatedMasterType(String dedicatedMasterType)
The instance type for a dedicated master node.
dedicatedMasterType
- The instance type for a dedicated master node.ESPartitionInstanceType
public void setDedicatedMasterType(ESPartitionInstanceType dedicatedMasterType)
The instance type for a dedicated master node.
dedicatedMasterType
- The instance type for a dedicated master node.ESPartitionInstanceType
public ElasticsearchClusterConfig withDedicatedMasterType(ESPartitionInstanceType dedicatedMasterType)
The instance type for a dedicated master node.
dedicatedMasterType
- The instance type for a dedicated master node.ESPartitionInstanceType
public 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 void setWarmEnabled(Boolean warmEnabled)
True to enable warm storage.
warmEnabled
- True to enable warm storage.public Boolean getWarmEnabled()
True to enable warm storage.
public ElasticsearchClusterConfig withWarmEnabled(Boolean warmEnabled)
True to enable warm storage.
warmEnabled
- True to enable warm storage.public Boolean isWarmEnabled()
True to enable warm storage.
public void setWarmType(String warmType)
The instance type for the Elasticsearch cluster's warm nodes.
warmType
- The instance type for the Elasticsearch cluster's warm nodes.ESWarmPartitionInstanceType
public String getWarmType()
The instance type for the Elasticsearch cluster's warm nodes.
ESWarmPartitionInstanceType
public ElasticsearchClusterConfig withWarmType(String warmType)
The instance type for the Elasticsearch cluster's warm nodes.
warmType
- The instance type for the Elasticsearch cluster's warm nodes.ESWarmPartitionInstanceType
public void setWarmType(ESWarmPartitionInstanceType warmType)
The instance type for the Elasticsearch cluster's warm nodes.
warmType
- The instance type for the Elasticsearch cluster's warm nodes.ESWarmPartitionInstanceType
public ElasticsearchClusterConfig withWarmType(ESWarmPartitionInstanceType warmType)
The instance type for the Elasticsearch cluster's warm nodes.
warmType
- The instance type for the Elasticsearch cluster's warm nodes.ESWarmPartitionInstanceType
public void setWarmCount(Integer warmCount)
The number of warm nodes in the cluster.
warmCount
- The number of warm nodes in the cluster.public Integer getWarmCount()
The number of warm nodes in the cluster.
public ElasticsearchClusterConfig withWarmCount(Integer warmCount)
The number of warm nodes in the cluster.
warmCount
- The number of warm nodes in the cluster.public void setColdStorageOptions(ColdStorageOptions coldStorageOptions)
Specifies the ColdStorageOptions
config for Elasticsearch Domain
coldStorageOptions
- Specifies the ColdStorageOptions
config for Elasticsearch Domainpublic ColdStorageOptions getColdStorageOptions()
Specifies the ColdStorageOptions
config for Elasticsearch Domain
ColdStorageOptions
config for Elasticsearch Domainpublic ElasticsearchClusterConfig withColdStorageOptions(ColdStorageOptions coldStorageOptions)
Specifies the ColdStorageOptions
config for Elasticsearch Domain
coldStorageOptions
- Specifies the ColdStorageOptions
config for Elasticsearch Domainpublic String toString()
toString
in class Object
Object.toString()
public ElasticsearchClusterConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.