@Generated(value="software.amazon.awssdk:codegen") public class ElasticsearchClusterConfig extends Object implements StructuredPojo, 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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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.
|
copypublic 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 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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ElasticsearchClusterConfig.Builder,ElasticsearchClusterConfig>public static ElasticsearchClusterConfig.Builder builder()
public static Class<? extends ElasticsearchClusterConfig.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.