public static final class CfnCluster.EncryptionInTransitProperty.Builder
extends java.lang.Object
CfnCluster.EncryptionInTransitProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnCluster.EncryptionInTransitProperty |
build()
Builds the configured instance.
|
CfnCluster.EncryptionInTransitProperty.Builder |
clientBroker(java.lang.String clientBroker)
Sets the value of
CfnCluster.EncryptionInTransitProperty.getClientBroker() |
CfnCluster.EncryptionInTransitProperty.Builder |
inCluster(java.lang.Boolean inCluster)
Sets the value of
CfnCluster.EncryptionInTransitProperty.getInCluster() |
CfnCluster.EncryptionInTransitProperty.Builder |
inCluster(IResolvable inCluster)
Sets the value of
CfnCluster.EncryptionInTransitProperty.getInCluster() |
public CfnCluster.EncryptionInTransitProperty.Builder clientBroker(java.lang.String clientBroker)
CfnCluster.EncryptionInTransitProperty.getClientBroker()
clientBroker
- Indicates the encryption setting for data in transit between clients and brokers. The following are the possible values.
TLS
means that client-broker communication is enabled with TLS only.TLS_PLAINTEXT
means that client-broker communication is enabled for both TLS-encrypted, as well as plain text data.PLAINTEXT
means that client-broker communication is enabled in plain text only.
The default value is TLS
.
this
public CfnCluster.EncryptionInTransitProperty.Builder inCluster(java.lang.Boolean inCluster)
CfnCluster.EncryptionInTransitProperty.getInCluster()
inCluster
- When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted.
When set to false, the communication happens in plain text. The default value is true.this
public CfnCluster.EncryptionInTransitProperty.Builder inCluster(IResolvable inCluster)
CfnCluster.EncryptionInTransitProperty.getInCluster()
inCluster
- When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted.
When set to false, the communication happens in plain text. The default value is true.this
public CfnCluster.EncryptionInTransitProperty build()
CfnCluster.EncryptionInTransitProperty
java.lang.NullPointerException
- if any required attribute was not provided