Class CfnDomain.NodeToNodeEncryptionOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchservice.CfnDomain.NodeToNodeEncryptionOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain.NodeToNodeEncryptionOptionsProperty>
- Enclosing interface:
CfnDomain.NodeToNodeEncryptionOptionsProperty
@Stability(Stable)
public static final class CfnDomain.NodeToNodeEncryptionOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomain.NodeToNodeEncryptionOptionsProperty>
A builder for
CfnDomain.NodeToNodeEncryptionOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDomain.NodeToNodeEncryptionOptionsProperty.getEnabled()
enabled
(IResolvable enabled) Sets the value ofCfnDomain.NodeToNodeEncryptionOptionsProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnDomain.NodeToNodeEncryptionOptionsProperty.Builder enabled(Boolean enabled) Sets the value ofCfnDomain.NodeToNodeEncryptionOptionsProperty.getEnabled()
- Parameters:
enabled
- Specifies to enable or disable node-to-node encryption on the domain. Required if you enable fine-grained access control in AdvancedSecurityOptionsInput .- Returns:
this
-
enabled
@Stability(Stable) public CfnDomain.NodeToNodeEncryptionOptionsProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnDomain.NodeToNodeEncryptionOptionsProperty.getEnabled()
- Parameters:
enabled
- Specifies to enable or disable node-to-node encryption on the domain. Required if you enable fine-grained access control in AdvancedSecurityOptionsInput .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDomain.NodeToNodeEncryptionOptionsProperty>
- Returns:
- a new instance of
CfnDomain.NodeToNodeEncryptionOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-