@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Boolean |
zoneAwarenessEnabled()
A boolean value to indicate whether zone awareness is enabled.
|
copy
public 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()
.
ESPartitionInstanceType
public 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()
.
ESPartitionInstanceType
public 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 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()
.
ESPartitionInstanceType
public 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()
.
ESPartitionInstanceType
public Integer dedicatedMasterCount()
Total number of dedicated master nodes, active and on standby, for the cluster.
public ElasticsearchClusterConfig.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ElasticsearchClusterConfig.Builder,ElasticsearchClusterConfig>
public static ElasticsearchClusterConfig.Builder builder()
public static Class<? extends ElasticsearchClusterConfig.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.