@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClusterConfig extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for the domain cluster, such as the type and number of instances.
Constructor and Description |
---|
ClusterConfig() |
Modifier and Type | Method and Description |
---|---|
ClusterConfig |
clone() |
boolean |
equals(Object obj) |
ColdStorageOptions |
getColdStorageOptions()
Specifies the
ColdStorageOptions config for a 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 OpenSearch cluster.
|
Integer |
getWarmCount()
The number of UltraWarm nodes in the cluster.
|
Boolean |
getWarmEnabled()
True to enable UltraWarm storage.
|
String |
getWarmType()
The instance type for the OpenSearch cluster's warm nodes.
|
ZoneAwarenessConfig |
getZoneAwarenessConfig()
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 UltraWarm 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 a 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(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(String instanceType)
The instance type for an OpenSearch cluster.
|
void |
setWarmCount(Integer warmCount)
The number of UltraWarm nodes in the cluster.
|
void |
setWarmEnabled(Boolean warmEnabled)
True to enable UltraWarm storage.
|
void |
setWarmType(String warmType)
The instance type for the OpenSearch cluster's warm nodes.
|
void |
setZoneAwarenessConfig(ZoneAwarenessConfig zoneAwarenessConfig)
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.
|
ClusterConfig |
withColdStorageOptions(ColdStorageOptions coldStorageOptions)
Specifies the
ColdStorageOptions config for a Domain |
ClusterConfig |
withDedicatedMasterCount(Integer dedicatedMasterCount)
Total number of dedicated master nodes, active and on standby, for the cluster.
|
ClusterConfig |
withDedicatedMasterEnabled(Boolean dedicatedMasterEnabled)
A boolean value to indicate whether a dedicated master node is enabled.
|
ClusterConfig |
withDedicatedMasterType(OpenSearchPartitionInstanceType dedicatedMasterType)
The instance type for a dedicated master node.
|
ClusterConfig |
withDedicatedMasterType(String dedicatedMasterType)
The instance type for a dedicated master node.
|
ClusterConfig |
withInstanceCount(Integer instanceCount)
The number of instances in the specified domain cluster.
|
ClusterConfig |
withInstanceType(OpenSearchPartitionInstanceType instanceType)
The instance type for an OpenSearch cluster.
|
ClusterConfig |
withInstanceType(String instanceType)
The instance type for an OpenSearch cluster.
|
ClusterConfig |
withWarmCount(Integer warmCount)
The number of UltraWarm nodes in the cluster.
|
ClusterConfig |
withWarmEnabled(Boolean warmEnabled)
True to enable UltraWarm storage.
|
ClusterConfig |
withWarmType(OpenSearchWarmPartitionInstanceType warmType)
The instance type for the OpenSearch cluster's warm nodes.
|
ClusterConfig |
withWarmType(String warmType)
The instance type for the OpenSearch cluster's warm nodes.
|
ClusterConfig |
withZoneAwarenessConfig(ZoneAwarenessConfig zoneAwarenessConfig)
The zone awareness configuration for a domain when zone awareness is enabled.
|
ClusterConfig |
withZoneAwarenessEnabled(Boolean zoneAwarenessEnabled)
A boolean value to indicate whether zone awareness is enabled.
|
public void setInstanceType(String instanceType)
The instance type for an OpenSearch cluster. UltraWarm instance types are not supported for data instances.
instanceType
- The instance type for an OpenSearch cluster. UltraWarm instance types are not supported for data
instances.OpenSearchPartitionInstanceType
public String getInstanceType()
The instance type for an OpenSearch cluster. UltraWarm instance types are not supported for data instances.
OpenSearchPartitionInstanceType
public ClusterConfig withInstanceType(String instanceType)
The instance type for an OpenSearch cluster. UltraWarm instance types are not supported for data instances.
instanceType
- The instance type for an OpenSearch cluster. UltraWarm instance types are not supported for data
instances.OpenSearchPartitionInstanceType
public ClusterConfig withInstanceType(OpenSearchPartitionInstanceType instanceType)
The instance type for an OpenSearch cluster. UltraWarm instance types are not supported for data instances.
instanceType
- The instance type for an OpenSearch cluster. UltraWarm instance types are not supported for data
instances.OpenSearchPartitionInstanceType
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 ClusterConfig 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 Dedicated master nodes in Amazon OpenSearch Service for more information.
dedicatedMasterEnabled
- A boolean value to indicate whether a dedicated master node is enabled. See Dedicated master nodes in Amazon OpenSearch Service for more information.public Boolean getDedicatedMasterEnabled()
A boolean value to indicate whether a dedicated master node is enabled. See Dedicated master nodes in Amazon OpenSearch Service for more information.
public ClusterConfig withDedicatedMasterEnabled(Boolean dedicatedMasterEnabled)
A boolean value to indicate whether a dedicated master node is enabled. See Dedicated master nodes in Amazon OpenSearch Service for more information.
dedicatedMasterEnabled
- A boolean value to indicate whether a dedicated master node is enabled. See Dedicated master nodes in Amazon OpenSearch Service for more information.public Boolean isDedicatedMasterEnabled()
A boolean value to indicate whether a dedicated master node is enabled. See Dedicated master nodes in Amazon OpenSearch Service for more information.
public void setZoneAwarenessEnabled(Boolean zoneAwarenessEnabled)
A boolean value to indicate whether zone awareness is enabled. See Configuring a multi-AZ domain in Amazon OpenSearch Service for more information.
zoneAwarenessEnabled
- A boolean value to indicate whether zone awareness is enabled. See Configuring a multi-AZ domain in Amazon OpenSearch Service for more information.public Boolean getZoneAwarenessEnabled()
A boolean value to indicate whether zone awareness is enabled. See Configuring a multi-AZ domain in Amazon OpenSearch Service for more information.
public ClusterConfig withZoneAwarenessEnabled(Boolean zoneAwarenessEnabled)
A boolean value to indicate whether zone awareness is enabled. See Configuring a multi-AZ domain in Amazon OpenSearch Service for more information.
zoneAwarenessEnabled
- A boolean value to indicate whether zone awareness is enabled. See Configuring a multi-AZ domain in Amazon OpenSearch Service for more information.public Boolean isZoneAwarenessEnabled()
A boolean value to indicate whether zone awareness is enabled. See Configuring a multi-AZ domain in Amazon OpenSearch Service for more information.
public void setZoneAwarenessConfig(ZoneAwarenessConfig zoneAwarenessConfig)
The zone awareness configuration for a domain when zone awareness is enabled.
zoneAwarenessConfig
- The zone awareness configuration for a domain when zone awareness is enabled.public ZoneAwarenessConfig getZoneAwarenessConfig()
The zone awareness configuration for a domain when zone awareness is enabled.
public ClusterConfig withZoneAwarenessConfig(ZoneAwarenessConfig zoneAwarenessConfig)
The zone awareness configuration for a domain when zone awareness is enabled.
zoneAwarenessConfig
- 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.OpenSearchPartitionInstanceType
public String getDedicatedMasterType()
The instance type for a dedicated master node.
OpenSearchPartitionInstanceType
public ClusterConfig withDedicatedMasterType(String dedicatedMasterType)
The instance type for a dedicated master node.
dedicatedMasterType
- The instance type for a dedicated master node.OpenSearchPartitionInstanceType
public ClusterConfig withDedicatedMasterType(OpenSearchPartitionInstanceType dedicatedMasterType)
The instance type for a dedicated master node.
dedicatedMasterType
- The instance type for a dedicated master node.OpenSearchPartitionInstanceType
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 ClusterConfig 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 UltraWarm storage.
warmEnabled
- True to enable UltraWarm storage.public Boolean getWarmEnabled()
True to enable UltraWarm storage.
public ClusterConfig withWarmEnabled(Boolean warmEnabled)
True to enable UltraWarm storage.
warmEnabled
- True to enable UltraWarm storage.public Boolean isWarmEnabled()
True to enable UltraWarm storage.
public void setWarmType(String warmType)
The instance type for the OpenSearch cluster's warm nodes.
warmType
- The instance type for the OpenSearch cluster's warm nodes.OpenSearchWarmPartitionInstanceType
public String getWarmType()
The instance type for the OpenSearch cluster's warm nodes.
OpenSearchWarmPartitionInstanceType
public ClusterConfig withWarmType(String warmType)
The instance type for the OpenSearch cluster's warm nodes.
warmType
- The instance type for the OpenSearch cluster's warm nodes.OpenSearchWarmPartitionInstanceType
public ClusterConfig withWarmType(OpenSearchWarmPartitionInstanceType warmType)
The instance type for the OpenSearch cluster's warm nodes.
warmType
- The instance type for the OpenSearch cluster's warm nodes.OpenSearchWarmPartitionInstanceType
public void setWarmCount(Integer warmCount)
The number of UltraWarm nodes in the cluster.
warmCount
- The number of UltraWarm nodes in the cluster.public Integer getWarmCount()
The number of UltraWarm nodes in the cluster.
public ClusterConfig withWarmCount(Integer warmCount)
The number of UltraWarm nodes in the cluster.
warmCount
- The number of UltraWarm nodes in the cluster.public void setColdStorageOptions(ColdStorageOptions coldStorageOptions)
Specifies the ColdStorageOptions
config for a Domain
coldStorageOptions
- Specifies the ColdStorageOptions
config for a Domainpublic ColdStorageOptions getColdStorageOptions()
Specifies the ColdStorageOptions
config for a Domain
ColdStorageOptions
config for a Domainpublic ClusterConfig withColdStorageOptions(ColdStorageOptions coldStorageOptions)
Specifies the ColdStorageOptions
config for a Domain
coldStorageOptions
- Specifies the ColdStorageOptions
config for a Domainpublic String toString()
toString
in class Object
Object.toString()
public ClusterConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.