public static final class EncryptionInTransitConfig.Builder
extends java.lang.Object
EncryptionInTransitConfig
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EncryptionInTransitConfig |
build()
Builds the configured instance.
|
EncryptionInTransitConfig.Builder |
clientBroker(ClientBrokerEncryption clientBroker)
Sets the value of
EncryptionInTransitConfig.getClientBroker() |
EncryptionInTransitConfig.Builder |
enableInCluster(java.lang.Boolean enableInCluster)
Sets the value of
EncryptionInTransitConfig.getEnableInCluster() |
public EncryptionInTransitConfig.Builder clientBroker(ClientBrokerEncryption clientBroker)
EncryptionInTransitConfig.getClientBroker()
clientBroker
- Indicates the encryption setting for data in transit between clients and brokers.this
public EncryptionInTransitConfig.Builder enableInCluster(java.lang.Boolean enableInCluster)
EncryptionInTransitConfig.getEnableInCluster()
enableInCluster
- Indicates that data communication among the broker nodes of the cluster is encrypted.this
public EncryptionInTransitConfig build()
EncryptionInTransitConfig
java.lang.NullPointerException
- if any required attribute was not provided