Class CfnServerlessClusterPropsMixin.ClientAuthenticationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.msk.CfnServerlessClusterPropsMixin.ClientAuthenticationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServerlessClusterPropsMixin.ClientAuthenticationProperty>
- Enclosing interface:
CfnServerlessClusterPropsMixin.ClientAuthenticationProperty
@Stability(Stable)
public static final class CfnServerlessClusterPropsMixin.ClientAuthenticationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServerlessClusterPropsMixin.ClientAuthenticationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnServerlessClusterPropsMixin.ClientAuthenticationProperty.getSasl()sasl(IResolvable sasl) Sets the value ofCfnServerlessClusterPropsMixin.ClientAuthenticationProperty.getSasl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sasl
@Stability(Stable) public CfnServerlessClusterPropsMixin.ClientAuthenticationProperty.Builder sasl(IResolvable sasl) Sets the value ofCfnServerlessClusterPropsMixin.ClientAuthenticationProperty.getSasl()- Parameters:
sasl- Details for client authentication using SASL. To turn on SASL, you must also turn onEncryptionInTransitby settinginClusterto true. You must setclientBrokerto eitherTLSorTLS_PLAINTEXT. If you chooseTLS_PLAINTEXT, then you must also setunauthenticatedto true.- Returns:
this
-
sasl
@Stability(Stable) public CfnServerlessClusterPropsMixin.ClientAuthenticationProperty.Builder sasl(CfnServerlessClusterPropsMixin.SaslProperty sasl) Sets the value ofCfnServerlessClusterPropsMixin.ClientAuthenticationProperty.getSasl()- Parameters:
sasl- Details for client authentication using SASL. To turn on SASL, you must also turn onEncryptionInTransitby settinginClusterto true. You must setclientBrokerto eitherTLSorTLS_PLAINTEXT. If you chooseTLS_PLAINTEXT, then you must also setunauthenticatedto true.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServerlessClusterPropsMixin.ClientAuthenticationProperty>- Returns:
- a new instance of
CfnServerlessClusterPropsMixin.ClientAuthenticationProperty - Throws:
NullPointerException- if any required attribute was not provided
-