Class CfnCluster.EncryptionInfoProperty.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnCluster.EncryptionInfoProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.EncryptionInfoProperty>
- Enclosing interface:
- CfnCluster.EncryptionInfoProperty
@Stability(Stable)
public static final class CfnCluster.EncryptionInfoProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.EncryptionInfoProperty>
A builder for
CfnCluster.EncryptionInfoProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.encryptionAtRest
(IResolvable encryptionAtRest) Sets the value ofCfnCluster.EncryptionInfoProperty.getEncryptionAtRest()
encryptionAtRest
(CfnCluster.EncryptionAtRestProperty encryptionAtRest) Sets the value ofCfnCluster.EncryptionInfoProperty.getEncryptionAtRest()
encryptionInTransit
(IResolvable encryptionInTransit) Sets the value ofCfnCluster.EncryptionInfoProperty.getEncryptionInTransit()
encryptionInTransit
(CfnCluster.EncryptionInTransitProperty encryptionInTransit) Sets the value ofCfnCluster.EncryptionInfoProperty.getEncryptionInTransit()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encryptionAtRest
@Stability(Stable) public CfnCluster.EncryptionInfoProperty.Builder encryptionAtRest(IResolvable encryptionAtRest) Sets the value ofCfnCluster.EncryptionInfoProperty.getEncryptionAtRest()
- Parameters:
encryptionAtRest
- The data-volume encryption details.- Returns:
this
-
encryptionAtRest
@Stability(Stable) public CfnCluster.EncryptionInfoProperty.Builder encryptionAtRest(CfnCluster.EncryptionAtRestProperty encryptionAtRest) Sets the value ofCfnCluster.EncryptionInfoProperty.getEncryptionAtRest()
- Parameters:
encryptionAtRest
- The data-volume encryption details.- Returns:
this
-
encryptionInTransit
@Stability(Stable) public CfnCluster.EncryptionInfoProperty.Builder encryptionInTransit(IResolvable encryptionInTransit) Sets the value ofCfnCluster.EncryptionInfoProperty.getEncryptionInTransit()
- Parameters:
encryptionInTransit
- The details for encryption in transit.- Returns:
this
-
encryptionInTransit
@Stability(Stable) public CfnCluster.EncryptionInfoProperty.Builder encryptionInTransit(CfnCluster.EncryptionInTransitProperty encryptionInTransit) Sets the value ofCfnCluster.EncryptionInfoProperty.getEncryptionInTransit()
- Parameters:
encryptionInTransit
- The details for encryption in transit.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCluster.EncryptionInfoProperty>
- Returns:
- a new instance of
CfnCluster.EncryptionInfoProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-