@Generated(value="software.amazon.awssdk:codegen") public final class ClusterConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClusterConfig.Builder,ClusterConfig>
Container for the cluster configuration of an OpenSearch Service domain. For more information, see Creating and managing Amazon OpenSearch Service domains.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ClusterConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ClusterConfig.Builder |
builder() |
ColdStorageOptions |
coldStorageOptions()
Container for cold storage configuration options.
|
Integer |
dedicatedMasterCount()
Number of dedicated master nodes in the cluster.
|
Boolean |
dedicatedMasterEnabled()
Indicates whether dedicated master nodes are enabled for the cluster.
True if the cluster will use a
dedicated master node.False if the cluster will not. |
OpenSearchPartitionInstanceType |
dedicatedMasterType()
OpenSearch Service instance type of the dedicated master nodes in the cluster.
|
String |
dedicatedMasterTypeAsString()
OpenSearch Service instance type of the dedicated master nodes in the cluster.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
instanceCount()
Number of dedicated master nodes in the cluster.
|
OpenSearchPartitionInstanceType |
instanceType()
Instance type of data nodes in the cluster.
|
String |
instanceTypeAsString()
Instance type of data nodes in the cluster.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ClusterConfig.Builder> |
serializableBuilderClass() |
ClusterConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
warmCount()
The number of warm nodes in the cluster.
|
Boolean |
warmEnabled()
Whether to enable warm storage for the cluster.
|
OpenSearchWarmPartitionInstanceType |
warmType()
The instance type for the cluster's warm nodes.
|
String |
warmTypeAsString()
The instance type for the cluster's warm nodes.
|
ZoneAwarenessConfig |
zoneAwarenessConfig()
Container for zone awareness configuration options.
|
Boolean |
zoneAwarenessEnabled()
Indicates whether multiple Availability Zones are enabled.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final OpenSearchPartitionInstanceType instanceType()
Instance type of data nodes in the cluster.
If the service returns an enum value that is not available in the current SDK version, instanceType will
return OpenSearchPartitionInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from instanceTypeAsString().
OpenSearchPartitionInstanceTypepublic final String instanceTypeAsString()
Instance type of data nodes in the cluster.
If the service returns an enum value that is not available in the current SDK version, instanceType will
return OpenSearchPartitionInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from instanceTypeAsString().
OpenSearchPartitionInstanceTypepublic final Integer instanceCount()
Number of dedicated master nodes in the cluster. This number must be greater than 1, otherwise you receive a validation exception.
public final Boolean dedicatedMasterEnabled()
Indicates whether dedicated master nodes are enabled for the cluster.True if the cluster will use a
dedicated master node.False if the cluster will not.
True if the cluster
will use a dedicated master node.False if the cluster will not.public final Boolean zoneAwarenessEnabled()
Indicates whether multiple Availability Zones are enabled. For more information, see Configuring a multi-AZ domain in Amazon OpenSearch Service.
public final ZoneAwarenessConfig zoneAwarenessConfig()
Container for zone awareness configuration options. Only required if ZoneAwarenessEnabled is
true.
ZoneAwarenessEnabled is
true.public final OpenSearchPartitionInstanceType dedicatedMasterType()
OpenSearch Service instance type of the dedicated master nodes in the cluster.
If the service returns an enum value that is not available in the current SDK version,
dedicatedMasterType will return OpenSearchPartitionInstanceType.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from dedicatedMasterTypeAsString().
OpenSearchPartitionInstanceTypepublic final String dedicatedMasterTypeAsString()
OpenSearch Service instance type of the dedicated master nodes in the cluster.
If the service returns an enum value that is not available in the current SDK version,
dedicatedMasterType will return OpenSearchPartitionInstanceType.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from dedicatedMasterTypeAsString().
OpenSearchPartitionInstanceTypepublic final Integer dedicatedMasterCount()
Number of dedicated master nodes in the cluster. This number must be greater than 1, otherwise you receive a validation exception.
public final Boolean warmEnabled()
Whether to enable warm storage for the cluster.
public final OpenSearchWarmPartitionInstanceType warmType()
The instance type for the cluster's warm nodes.
If the service returns an enum value that is not available in the current SDK version, warmType will
return OpenSearchWarmPartitionInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service
is available from warmTypeAsString().
OpenSearchWarmPartitionInstanceTypepublic final String warmTypeAsString()
The instance type for the cluster's warm nodes.
If the service returns an enum value that is not available in the current SDK version, warmType will
return OpenSearchWarmPartitionInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service
is available from warmTypeAsString().
OpenSearchWarmPartitionInstanceTypepublic final Integer warmCount()
The number of warm nodes in the cluster.
public final ColdStorageOptions coldStorageOptions()
Container for cold storage configuration options.
public ClusterConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ClusterConfig.Builder,ClusterConfig>public static ClusterConfig.Builder builder()
public static Class<? extends ClusterConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.