@Generated(value="software.amazon.awssdk:codegen") public final class ElasticsearchClusterConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ElasticsearchClusterConfig.Builder,ElasticsearchClusterConfig>
Specifies the configuration for the domain cluster, such as the type and number of instances.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ElasticsearchClusterConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ElasticsearchClusterConfig.Builder |
builder() |
Integer |
dedicatedMasterCount()
Total number of dedicated master nodes, active and on standby, for the cluster.
|
Boolean |
dedicatedMasterEnabled()
A boolean value to indicate whether a dedicated master node is enabled.
|
ESPartitionInstanceType |
dedicatedMasterType()
The instance type for a dedicated master node.
|
String |
dedicatedMasterTypeAsString()
The instance type for a dedicated master node.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
instanceCount()
The number of instances in the specified domain cluster.
|
ESPartitionInstanceType |
instanceType()
The instance type for an Elasticsearch cluster.
|
String |
instanceTypeAsString()
The instance type for an Elasticsearch cluster.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ElasticsearchClusterConfig.Builder> |
serializableBuilderClass() |
ElasticsearchClusterConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ZoneAwarenessConfig |
zoneAwarenessConfig()
Specifies the zone awareness configuration for a domain when zone awareness is enabled.
|
Boolean |
zoneAwarenessEnabled()
A boolean value to indicate whether zone awareness is enabled.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic ESPartitionInstanceType instanceType()
The instance type for an Elasticsearch cluster.
If the service returns an enum value that is not available in the current SDK version, instanceType will
return ESPartitionInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from instanceTypeAsString().
ESPartitionInstanceTypepublic String instanceTypeAsString()
The instance type for an Elasticsearch cluster.
If the service returns an enum value that is not available in the current SDK version, instanceType will
return ESPartitionInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from instanceTypeAsString().
ESPartitionInstanceTypepublic Integer instanceCount()
The number of instances in the specified domain cluster.
public Boolean dedicatedMasterEnabled()
A boolean value to indicate whether a dedicated master node is enabled. See About Dedicated Master Nodes for more information.
public Boolean zoneAwarenessEnabled()
A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.
public ZoneAwarenessConfig zoneAwarenessConfig()
Specifies the zone awareness configuration for a domain when zone awareness is enabled.
public ESPartitionInstanceType dedicatedMasterType()
The instance type for a dedicated master node.
If the service returns an enum value that is not available in the current SDK version,
dedicatedMasterType will return ESPartitionInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from dedicatedMasterTypeAsString().
ESPartitionInstanceTypepublic String dedicatedMasterTypeAsString()
The instance type for a dedicated master node.
If the service returns an enum value that is not available in the current SDK version,
dedicatedMasterType will return ESPartitionInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from dedicatedMasterTypeAsString().
ESPartitionInstanceTypepublic Integer dedicatedMasterCount()
Total number of dedicated master nodes, active and on standby, for the cluster.
public ElasticsearchClusterConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ElasticsearchClusterConfig.Builder,ElasticsearchClusterConfig>public static ElasticsearchClusterConfig.Builder builder()
public static Class<? extends ElasticsearchClusterConfig.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.