Class EncryptionInTransitConfig.Builder
java.lang.Object
software.amazon.awscdk.services.msk.EncryptionInTransitConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EncryptionInTransitConfig>
- Enclosing interface:
- EncryptionInTransitConfig
@Stability(Experimental)
public static final class EncryptionInTransitConfig.Builder
extends Object
implements software.amazon.jsii.Builder<EncryptionInTransitConfig>
A builder for
EncryptionInTransitConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.clientBroker(ClientBrokerEncryption clientBroker) Sets the value ofEncryptionInTransitConfig.getClientBroker()enableInCluster(Boolean enableInCluster) Sets the value ofEncryptionInTransitConfig.getEnableInCluster()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientBroker
@Stability(Experimental) public EncryptionInTransitConfig.Builder clientBroker(ClientBrokerEncryption clientBroker) Sets the value ofEncryptionInTransitConfig.getClientBroker()- Parameters:
clientBroker- Indicates the encryption setting for data in transit between clients and brokers.- Returns:
this
-
enableInCluster
@Stability(Experimental) public EncryptionInTransitConfig.Builder enableInCluster(Boolean enableInCluster) Sets the value ofEncryptionInTransitConfig.getEnableInCluster()- Parameters:
enableInCluster- Indicates that data communication among the broker nodes of the cluster is encrypted.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EncryptionInTransitConfig>- Returns:
- a new instance of
EncryptionInTransitConfig - Throws:
NullPointerException- if any required attribute was not provided
-