Class CfnDomain.NodeConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchservice.CfnDomain.NodeConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain.NodeConfigProperty>
- Enclosing interface:
CfnDomain.NodeConfigProperty
@Stability(Stable)
public static final class CfnDomain.NodeConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomain.NodeConfigProperty>
A builder for
CfnDomain.NodeConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDomain.NodeConfigProperty.getCount()Sets the value ofCfnDomain.NodeConfigProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnDomain.NodeConfigProperty.getEnabled()Sets the value ofCfnDomain.NodeConfigProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
count
Sets the value ofCfnDomain.NodeConfigProperty.getCount()- Parameters:
count- The number of nodes of a specific type within the cluster.- Returns:
this
-
enabled
Sets the value ofCfnDomain.NodeConfigProperty.getEnabled()- Parameters:
enabled- A boolean value indicating whether a specific node type is active or inactive.- Returns:
this
-
enabled
Sets the value ofCfnDomain.NodeConfigProperty.getEnabled()- Parameters:
enabled- A boolean value indicating whether a specific node type is active or inactive.- Returns:
this
-
type
Sets the value ofCfnDomain.NodeConfigProperty.getType()- Parameters:
type- The instance type of a particular node within the cluster.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomain.NodeConfigProperty>- Returns:
- a new instance of
CfnDomain.NodeConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-