Class CfnReplicator.KafkaClusterOAuthClientCredentialsAssertionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnReplicator.KafkaClusterOAuthClientCredentialsAssertionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicator.KafkaClusterOAuthClientCredentialsAssertionProperty>
- Enclosing interface:
CfnReplicator.KafkaClusterOAuthClientCredentialsAssertionProperty
@Stability(Stable)
public static final class CfnReplicator.KafkaClusterOAuthClientCredentialsAssertionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicator.KafkaClusterOAuthClientCredentialsAssertionProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.signingAlgorithm(String signingAlgorithm) tokenRequestSecretArn(String tokenRequestSecretArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
audience
@Stability(Stable) public CfnReplicator.KafkaClusterOAuthClientCredentialsAssertionProperty.Builder audience(String audience) - Parameters:
audience- The audience (aud claim) set in the STS JWT client assertion. This parameter is required.- Returns:
this
-
signingAlgorithm
@Stability(Stable) public CfnReplicator.KafkaClusterOAuthClientCredentialsAssertionProperty.Builder signingAlgorithm(String signingAlgorithm) Sets the value ofCfnReplicator.KafkaClusterOAuthClientCredentialsAssertionProperty.getSigningAlgorithm()- Parameters:
signingAlgorithm- The algorithm used to sign the STS JWT assertion. This parameter is required.- Returns:
this
-
tokenRequestSecretArn
@Stability(Stable) public CfnReplicator.KafkaClusterOAuthClientCredentialsAssertionProperty.Builder tokenRequestSecretArn(String tokenRequestSecretArn) Sets the value ofCfnReplicator.KafkaClusterOAuthClientCredentialsAssertionProperty.getTokenRequestSecretArn()- Parameters:
tokenRequestSecretArn- Optional Secrets Manager ARN for identity providers that require client_id as a form parameter alongside the JWT client assertion.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReplicator.KafkaClusterOAuthClientCredentialsAssertionProperty>- Returns:
- a new instance of
CfnReplicator.KafkaClusterOAuthClientCredentialsAssertionProperty - Throws:
NullPointerException- if any required attribute was not provided
-