Class CfnCluster.SaslProperty.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnCluster.SaslProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.SaslProperty>
- Enclosing interface:
- CfnCluster.SaslProperty
@Stability(Stable)
public static final class CfnCluster.SaslProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.SaslProperty>
A builder for
CfnCluster.SaslProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.iam
(IResolvable iam) Sets the value ofCfnCluster.SaslProperty.getIam()
Sets the value ofCfnCluster.SaslProperty.getIam()
scram
(IResolvable scram) Sets the value ofCfnCluster.SaslProperty.getScram()
scram
(CfnCluster.ScramProperty scram) Sets the value ofCfnCluster.SaslProperty.getScram()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
iam
Sets the value ofCfnCluster.SaslProperty.getIam()
- Parameters:
iam
- Details for ClientAuthentication using IAM.- Returns:
this
-
iam
Sets the value ofCfnCluster.SaslProperty.getIam()
- Parameters:
iam
- Details for ClientAuthentication using IAM.- Returns:
this
-
scram
Sets the value ofCfnCluster.SaslProperty.getScram()
- Parameters:
scram
- Details for SASL/SCRAM client authentication.- Returns:
this
-
scram
Sets the value ofCfnCluster.SaslProperty.getScram()
- Parameters:
scram
- Details for SASL/SCRAM client authentication.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCluster.SaslProperty>
- Returns:
- a new instance of
CfnCluster.SaslProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-