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