Class CfnReplicator.KafkaClusterOAuthClientCredentialsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnReplicator.KafkaClusterOAuthClientCredentialsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicator.KafkaClusterOAuthClientCredentialsProperty>
- Enclosing interface:
CfnReplicator.KafkaClusterOAuthClientCredentialsProperty
@Stability(Stable)
public static final class CfnReplicator.KafkaClusterOAuthClientCredentialsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicator.KafkaClusterOAuthClientCredentialsProperty>
A builder for
CfnReplicator.KafkaClusterOAuthClientCredentialsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.tokenRequestSecretArn(String tokenRequestSecretArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tokenRequestSecretArn
@Stability(Stable) public CfnReplicator.KafkaClusterOAuthClientCredentialsProperty.Builder tokenRequestSecretArn(String tokenRequestSecretArn) Sets the value ofCfnReplicator.KafkaClusterOAuthClientCredentialsProperty.getTokenRequestSecretArn()- Parameters:
tokenRequestSecretArn- Secrets Manager ARN of the secret containing the client_id and client_secret used to obtain an OAuth Bearer token via the client_credentials grant. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReplicator.KafkaClusterOAuthClientCredentialsProperty>- Returns:
- a new instance of
CfnReplicator.KafkaClusterOAuthClientCredentialsProperty - Throws:
NullPointerException- if any required attribute was not provided
-