Class CfnBatchScramSecretProps.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnBatchScramSecretProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBatchScramSecretProps>
- Enclosing interface:
CfnBatchScramSecretProps
@Stability(Stable)
public static final class CfnBatchScramSecretProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBatchScramSecretProps>
A builder for
CfnBatchScramSecretProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.clusterArn
(String clusterArn) Sets the value ofCfnBatchScramSecretProps.getClusterArn()
secretArnList
(List<String> secretArnList) Sets the value ofCfnBatchScramSecretProps.getSecretArnList()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clusterArn
Sets the value ofCfnBatchScramSecretProps.getClusterArn()
- Parameters:
clusterArn
-AWS::MSK::BatchScramSecret.ClusterArn
. This parameter is required.- Returns:
this
-
secretArnList
@Stability(Stable) public CfnBatchScramSecretProps.Builder secretArnList(List<String> secretArnList) Sets the value ofCfnBatchScramSecretProps.getSecretArnList()
- Parameters:
secretArnList
-AWS::MSK::BatchScramSecret.SecretArnList
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBatchScramSecretProps>
- Returns:
- a new instance of
CfnBatchScramSecretProps
- Throws:
NullPointerException
- if any required attribute was not provided
-