Class AwsElasticsearchDomainElasticsearchClusterConfigDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsElasticsearchDomainElasticsearchClusterConfigDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsElasticsearchDomainElasticsearchClusterConfigDetails.Builder,AwsElasticsearchDomainElasticsearchClusterConfigDetails>
@Generated("software.amazon.awssdk:codegen") public final class AwsElasticsearchDomainElasticsearchClusterConfigDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsElasticsearchDomainElasticsearchClusterConfigDetails.Builder,AwsElasticsearchDomainElasticsearchClusterConfigDetails>
details about the configuration of an OpenSearch cluster.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsElasticsearchDomainElasticsearchClusterConfigDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsElasticsearchDomainElasticsearchClusterConfigDetails.Builderbuilder()IntegerdedicatedMasterCount()The number of instances to use for the master node.BooleandedicatedMasterEnabled()Whether to use a dedicated master node for the Elasticsearch domain.StringdedicatedMasterType()The hardware configuration of the computer that hosts the dedicated master node.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerinstanceCount()The number of data nodes to use in the Elasticsearch domain.StringinstanceType()The instance type for your data nodes.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AwsElasticsearchDomainElasticsearchClusterConfigDetails.Builder>serializableBuilderClass()AwsElasticsearchDomainElasticsearchClusterConfigDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetailszoneAwarenessConfig()Configuration options for zone awareness.BooleanzoneAwarenessEnabled()Whether to enable zone awareness for the Elasticsearch domain.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
dedicatedMasterCount
public final Integer dedicatedMasterCount()
The number of instances to use for the master node. If this attribute is specified, then
DedicatedMasterEnabledmust betrue.- Returns:
- The number of instances to use for the master node. If this attribute is specified, then
DedicatedMasterEnabledmust betrue.
-
dedicatedMasterEnabled
public final Boolean dedicatedMasterEnabled()
Whether to use a dedicated master node for the Elasticsearch domain. A dedicated master node performs cluster management tasks, but doesn't hold data or respond to data upload requests.
- Returns:
- Whether to use a dedicated master node for the Elasticsearch domain. A dedicated master node performs cluster management tasks, but doesn't hold data or respond to data upload requests.
-
dedicatedMasterType
public final String dedicatedMasterType()
The hardware configuration of the computer that hosts the dedicated master node. A sample value is
m3.medium.elasticsearch. If this attribute is specified, thenDedicatedMasterEnabledmust betrue.For a list of valid values, see Supported instance types in Amazon OpenSearch Service in the Amazon OpenSearch Service Developer Guide.
- Returns:
- The hardware configuration of the computer that hosts the dedicated master node. A sample value is
m3.medium.elasticsearch. If this attribute is specified, thenDedicatedMasterEnabledmust betrue.For a list of valid values, see Supported instance types in Amazon OpenSearch Service in the Amazon OpenSearch Service Developer Guide.
-
instanceCount
public final Integer instanceCount()
The number of data nodes to use in the Elasticsearch domain.
- Returns:
- The number of data nodes to use in the Elasticsearch domain.
-
instanceType
public final String instanceType()
The instance type for your data nodes. For example,
m3.medium.elasticsearch.For a list of valid values, see Supported instance types in Amazon OpenSearch Service in the Amazon OpenSearch Service Developer Guide.
- Returns:
- The instance type for your data nodes. For example,
m3.medium.elasticsearch.For a list of valid values, see Supported instance types in Amazon OpenSearch Service in the Amazon OpenSearch Service Developer Guide.
-
zoneAwarenessConfig
public final AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails zoneAwarenessConfig()
Configuration options for zone awareness. Provided if
ZoneAwarenessEnabledistrue.- Returns:
- Configuration options for zone awareness. Provided if
ZoneAwarenessEnabledistrue.
-
zoneAwarenessEnabled
public final Boolean zoneAwarenessEnabled()
Whether to enable zone awareness for the Elasticsearch domain. When zone awareness is enabled, OpenSearch allocates the cluster's nodes and replica index shards across Availability Zones in the same Region. This prevents data loss and minimizes downtime if a node or data center fails.
- Returns:
- Whether to enable zone awareness for the Elasticsearch domain. When zone awareness is enabled, OpenSearch allocates the cluster's nodes and replica index shards across Availability Zones in the same Region. This prevents data loss and minimizes downtime if a node or data center fails.
-
toBuilder
public AwsElasticsearchDomainElasticsearchClusterConfigDetails.Builder toBuilder()
-
builder
public static AwsElasticsearchDomainElasticsearchClusterConfigDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsElasticsearchDomainElasticsearchClusterConfigDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-