Class CfnReplicatorPropsMixin.KafkaClusterSaslScramAuthenticationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.msk.CfnReplicatorPropsMixin.KafkaClusterSaslScramAuthenticationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicatorPropsMixin.KafkaClusterSaslScramAuthenticationProperty>
- Enclosing interface:
CfnReplicatorPropsMixin.KafkaClusterSaslScramAuthenticationProperty
@Stability(Stable)
public static final class CfnReplicatorPropsMixin.KafkaClusterSaslScramAuthenticationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicatorPropsMixin.KafkaClusterSaslScramAuthenticationProperty>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mechanism
@Stability(Stable) public CfnReplicatorPropsMixin.KafkaClusterSaslScramAuthenticationProperty.Builder mechanism(String mechanism) Sets the value ofCfnReplicatorPropsMixin.KafkaClusterSaslScramAuthenticationProperty.getMechanism()- Parameters:
mechanism- The SASL/SCRAM authentication mechanism.- Returns:
this
-
secretArn
@Stability(Stable) public CfnReplicatorPropsMixin.KafkaClusterSaslScramAuthenticationProperty.Builder secretArn(String secretArn) Sets the value ofCfnReplicatorPropsMixin.KafkaClusterSaslScramAuthenticationProperty.getSecretArn()- Parameters:
secretArn- The Amazon Resource Name (ARN) of the Secrets Manager secret.- Returns:
this
-
build
@Stability(Stable) public CfnReplicatorPropsMixin.KafkaClusterSaslScramAuthenticationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReplicatorPropsMixin.KafkaClusterSaslScramAuthenticationProperty>- Returns:
- a new instance of
CfnReplicatorPropsMixin.KafkaClusterSaslScramAuthenticationProperty - Throws:
NullPointerException- if any required attribute was not provided
-