Class AwsOpenSearchServiceDomainClusterConfigDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsOpenSearchServiceDomainClusterConfigDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsOpenSearchServiceDomainClusterConfigDetails.Builder,AwsOpenSearchServiceDomainClusterConfigDetails>
@Generated("software.amazon.awssdk:codegen") public final class AwsOpenSearchServiceDomainClusterConfigDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsOpenSearchServiceDomainClusterConfigDetails.Builder,AwsOpenSearchServiceDomainClusterConfigDetails>
Details about the configuration of an OpenSearch cluster.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsOpenSearchServiceDomainClusterConfigDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsOpenSearchServiceDomainClusterConfigDetails.Builderbuilder()IntegerdedicatedMasterCount()The number of instances to use for the master node.BooleandedicatedMasterEnabled()Whether to use a dedicated master node for the OpenSearch 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 OpenSearch domain.StringinstanceType()The instance type for your data nodes.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AwsOpenSearchServiceDomainClusterConfigDetails.Builder>serializableBuilderClass()AwsOpenSearchServiceDomainClusterConfigDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegerwarmCount()The number of UltraWarm instances.BooleanwarmEnabled()Whether UltraWarm is enabled.StringwarmType()The type of UltraWarm instance.AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetailszoneAwarenessConfig()Configuration options for zone awareness.BooleanzoneAwarenessEnabled()Whether to enable zone awareness for the OpenSearch 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
-
instanceCount
public final Integer instanceCount()
The number of data nodes to use in the OpenSearch domain.
- Returns:
- The number of data nodes to use in the OpenSearch domain.
-
warmEnabled
public final Boolean warmEnabled()
Whether UltraWarm is enabled.
- Returns:
- Whether UltraWarm is enabled.
-
warmCount
public final Integer warmCount()
The number of UltraWarm instances.
- Returns:
- The number of UltraWarm instances.
-
dedicatedMasterEnabled
public final Boolean dedicatedMasterEnabled()
Whether to use a dedicated master node for the OpenSearch domain. A dedicated master node performs cluster management tasks, but does not hold data or respond to data upload requests.
- Returns:
- Whether to use a dedicated master node for the OpenSearch domain. A dedicated master node performs cluster management tasks, but does not hold data or respond to data upload requests.
-
zoneAwarenessConfig
public final AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails zoneAwarenessConfig()
Configuration options for zone awareness. Provided if
ZoneAwarenessEnabledistrue.- Returns:
- Configuration options for zone awareness. Provided if
ZoneAwarenessEnabledistrue.
-
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.
-
instanceType
public final String instanceType()
The instance type for your data nodes.
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 a list of valid values, see Supported instance types in Amazon OpenSearch Service in the Amazon OpenSearch Service Developer Guide.
-
warmType
public final String warmType()
The type of UltraWarm instance.
- Returns:
- The type of UltraWarm instance.
-
zoneAwarenessEnabled
public final Boolean zoneAwarenessEnabled()
Whether to enable zone awareness for the OpenSearch domain. When zone awareness is enabled, OpenSearch Service allocates the cluster's nodes and replica index shards across Availability Zones (AZs) 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 OpenSearch domain. When zone awareness is enabled, OpenSearch Service allocates the cluster's nodes and replica index shards across Availability Zones (AZs) in the same Region. This prevents data loss and minimizes downtime if a node or data center fails.
-
dedicatedMasterType
public final String dedicatedMasterType()
The hardware configuration of the computer that hosts the dedicated master node.
If this attribute is specified, then
DedicatedMasterEnabledmust betrue.- Returns:
- The hardware configuration of the computer that hosts the dedicated master node.
If this attribute is specified, then
DedicatedMasterEnabledmust betrue.
-
toBuilder
public AwsOpenSearchServiceDomainClusterConfigDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsOpenSearchServiceDomainClusterConfigDetails.Builder,AwsOpenSearchServiceDomainClusterConfigDetails>
-
builder
public static AwsOpenSearchServiceDomainClusterConfigDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsOpenSearchServiceDomainClusterConfigDetails.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
-
-