Class CfnServerlessCluster.IamProperty.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnServerlessCluster.IamProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServerlessCluster.IamProperty>
- Enclosing interface:
CfnServerlessCluster.IamProperty
@Stability(Stable)
public static final class CfnServerlessCluster.IamProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServerlessCluster.IamProperty>
A builder for
CfnServerlessCluster.IamProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnServerlessCluster.IamProperty.getEnabled()
enabled
(IResolvable enabled) Sets the value ofCfnServerlessCluster.IamProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
Sets the value ofCfnServerlessCluster.IamProperty.getEnabled()
- Parameters:
enabled
- SASL/IAM authentication is enabled or not. This parameter is required.- Returns:
this
-
enabled
Sets the value ofCfnServerlessCluster.IamProperty.getEnabled()
- Parameters:
enabled
- SASL/IAM authentication is enabled or not. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnServerlessCluster.IamProperty>
- Returns:
- a new instance of
CfnServerlessCluster.IamProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-