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