Interface ClusterConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ClusterConfig.Builder,ClusterConfig>,SdkBuilder<ClusterConfig.Builder,ClusterConfig>,SdkPojo
- Enclosing class:
- ClusterConfig
public static interface ClusterConfig.Builder extends SdkPojo, CopyableBuilder<ClusterConfig.Builder,ClusterConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ClusterConfig.BuildercoldStorageOptions(Consumer<ColdStorageOptions.Builder> coldStorageOptions)Container for cold storage configuration options.ClusterConfig.BuildercoldStorageOptions(ColdStorageOptions coldStorageOptions)Container for cold storage configuration options.ClusterConfig.BuilderdedicatedMasterCount(Integer dedicatedMasterCount)Number of dedicated master nodes in the cluster.ClusterConfig.BuilderdedicatedMasterEnabled(Boolean dedicatedMasterEnabled)Indicates whether dedicated master nodes are enabled for the cluster.Trueif the cluster will use a dedicated master node.Falseif the cluster will not.ClusterConfig.BuilderdedicatedMasterType(String dedicatedMasterType)OpenSearch Service instance type of the dedicated master nodes in the cluster.ClusterConfig.BuilderdedicatedMasterType(OpenSearchPartitionInstanceType dedicatedMasterType)OpenSearch Service instance type of the dedicated master nodes in the cluster.ClusterConfig.BuilderinstanceCount(Integer instanceCount)Number of data nodes in the cluster.ClusterConfig.BuilderinstanceType(String instanceType)Instance type of data nodes in the cluster.ClusterConfig.BuilderinstanceType(OpenSearchPartitionInstanceType instanceType)Instance type of data nodes in the cluster.ClusterConfig.BuildermultiAZWithStandbyEnabled(Boolean multiAZWithStandbyEnabled)A boolean that indicates whether a multi-AZ domain is turned on with a standby AZ.ClusterConfig.BuilderwarmCount(Integer warmCount)The number of warm nodes in the cluster.ClusterConfig.BuilderwarmEnabled(Boolean warmEnabled)Whether to enable warm storage for the cluster.ClusterConfig.BuilderwarmType(String warmType)The instance type for the cluster's warm nodes.ClusterConfig.BuilderwarmType(OpenSearchWarmPartitionInstanceType warmType)The instance type for the cluster's warm nodes.default ClusterConfig.BuilderzoneAwarenessConfig(Consumer<ZoneAwarenessConfig.Builder> zoneAwarenessConfig)Container for zone awareness configuration options.ClusterConfig.BuilderzoneAwarenessConfig(ZoneAwarenessConfig zoneAwarenessConfig)Container for zone awareness configuration options.ClusterConfig.BuilderzoneAwarenessEnabled(Boolean zoneAwarenessEnabled)Indicates whether multiple Availability Zones are enabled.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
instanceType
ClusterConfig.Builder instanceType(String instanceType)
Instance type of data nodes in the cluster.
- Parameters:
instanceType- Instance type of data nodes in the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OpenSearchPartitionInstanceType,OpenSearchPartitionInstanceType
-
instanceType
ClusterConfig.Builder instanceType(OpenSearchPartitionInstanceType instanceType)
Instance type of data nodes in the cluster.
- Parameters:
instanceType- Instance type of data nodes in the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OpenSearchPartitionInstanceType,OpenSearchPartitionInstanceType
-
instanceCount
ClusterConfig.Builder instanceCount(Integer instanceCount)
Number of data nodes in the cluster. This number must be greater than 1, otherwise you receive a validation exception.
- Parameters:
instanceCount- Number of data nodes in the cluster. This number must be greater than 1, otherwise you receive a validation exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dedicatedMasterEnabled
ClusterConfig.Builder dedicatedMasterEnabled(Boolean dedicatedMasterEnabled)
Indicates whether dedicated master nodes are enabled for the cluster.
Trueif the cluster will use a dedicated master node.Falseif the cluster will not.- Parameters:
dedicatedMasterEnabled- Indicates whether dedicated master nodes are enabled for the cluster.Trueif the cluster will use a dedicated master node.Falseif the cluster will not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zoneAwarenessEnabled
ClusterConfig.Builder zoneAwarenessEnabled(Boolean zoneAwarenessEnabled)
Indicates whether multiple Availability Zones are enabled. For more information, see Configuring a multi-AZ domain in Amazon OpenSearch Service.
- Parameters:
zoneAwarenessEnabled- Indicates whether multiple Availability Zones are enabled. For more information, see Configuring a multi-AZ domain in Amazon OpenSearch Service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zoneAwarenessConfig
ClusterConfig.Builder zoneAwarenessConfig(ZoneAwarenessConfig zoneAwarenessConfig)
Container for zone awareness configuration options. Only required if
ZoneAwarenessEnabledistrue.- Parameters:
zoneAwarenessConfig- Container for zone awareness configuration options. Only required ifZoneAwarenessEnabledistrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zoneAwarenessConfig
default ClusterConfig.Builder zoneAwarenessConfig(Consumer<ZoneAwarenessConfig.Builder> zoneAwarenessConfig)
Container for zone awareness configuration options. Only required if
This is a convenience method that creates an instance of theZoneAwarenessEnabledistrue.ZoneAwarenessConfig.Builderavoiding the need to create one manually viaZoneAwarenessConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tozoneAwarenessConfig(ZoneAwarenessConfig).- Parameters:
zoneAwarenessConfig- a consumer that will call methods onZoneAwarenessConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
zoneAwarenessConfig(ZoneAwarenessConfig)
-
dedicatedMasterType
ClusterConfig.Builder dedicatedMasterType(String dedicatedMasterType)
OpenSearch Service instance type of the dedicated master nodes in the cluster.
- Parameters:
dedicatedMasterType- OpenSearch Service instance type of the dedicated master nodes in the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OpenSearchPartitionInstanceType,OpenSearchPartitionInstanceType
-
dedicatedMasterType
ClusterConfig.Builder dedicatedMasterType(OpenSearchPartitionInstanceType dedicatedMasterType)
OpenSearch Service instance type of the dedicated master nodes in the cluster.
- Parameters:
dedicatedMasterType- OpenSearch Service instance type of the dedicated master nodes in the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OpenSearchPartitionInstanceType,OpenSearchPartitionInstanceType
-
dedicatedMasterCount
ClusterConfig.Builder dedicatedMasterCount(Integer dedicatedMasterCount)
Number of dedicated master nodes in the cluster. This number must be greater than 2 and not 4, otherwise you receive a validation exception.
- Parameters:
dedicatedMasterCount- Number of dedicated master nodes in the cluster. This number must be greater than 2 and not 4, otherwise you receive a validation exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warmEnabled
ClusterConfig.Builder warmEnabled(Boolean warmEnabled)
Whether to enable warm storage for the cluster.
- Parameters:
warmEnabled- Whether to enable warm storage for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warmType
ClusterConfig.Builder warmType(String warmType)
The instance type for the cluster's warm nodes.
- Parameters:
warmType- The instance type for the cluster's warm nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OpenSearchWarmPartitionInstanceType,OpenSearchWarmPartitionInstanceType
-
warmType
ClusterConfig.Builder warmType(OpenSearchWarmPartitionInstanceType warmType)
The instance type for the cluster's warm nodes.
- Parameters:
warmType- The instance type for the cluster's warm nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OpenSearchWarmPartitionInstanceType,OpenSearchWarmPartitionInstanceType
-
warmCount
ClusterConfig.Builder warmCount(Integer warmCount)
The number of warm nodes in the cluster.
- Parameters:
warmCount- The number of warm nodes in the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coldStorageOptions
ClusterConfig.Builder coldStorageOptions(ColdStorageOptions coldStorageOptions)
Container for cold storage configuration options.
- Parameters:
coldStorageOptions- Container for cold storage configuration options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coldStorageOptions
default ClusterConfig.Builder coldStorageOptions(Consumer<ColdStorageOptions.Builder> coldStorageOptions)
Container for cold storage configuration options.
This is a convenience method that creates an instance of theColdStorageOptions.Builderavoiding the need to create one manually viaColdStorageOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocoldStorageOptions(ColdStorageOptions).- Parameters:
coldStorageOptions- a consumer that will call methods onColdStorageOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
coldStorageOptions(ColdStorageOptions)
-
multiAZWithStandbyEnabled
ClusterConfig.Builder multiAZWithStandbyEnabled(Boolean multiAZWithStandbyEnabled)
A boolean that indicates whether a multi-AZ domain is turned on with a standby AZ. For more information, see Configuring a multi-AZ domain in Amazon OpenSearch Service.
- Parameters:
multiAZWithStandbyEnabled- A boolean that indicates whether a multi-AZ domain is turned on with a standby AZ. For more information, see Configuring a multi-AZ domain in Amazon OpenSearch Service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-