Class CfnReplicatorPropsMixin.KafkaClusterOAuthClientCredentialsAssertionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.msk.CfnReplicatorPropsMixin.KafkaClusterOAuthClientCredentialsAssertionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicatorPropsMixin.KafkaClusterOAuthClientCredentialsAssertionProperty>
- Enclosing interface:
CfnReplicatorPropsMixin.KafkaClusterOAuthClientCredentialsAssertionProperty
@Stability(Stable)
public static final class CfnReplicatorPropsMixin.KafkaClusterOAuthClientCredentialsAssertionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicatorPropsMixin.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 CfnReplicatorPropsMixin.KafkaClusterOAuthClientCredentialsAssertionProperty.Builder audience(String audience) Sets the value ofCfnReplicatorPropsMixin.KafkaClusterOAuthClientCredentialsAssertionProperty.getAudience()- Parameters:
audience- The audience (aud claim) set in the STS JWT client assertion.- Returns:
this
-
signingAlgorithm
@Stability(Stable) public CfnReplicatorPropsMixin.KafkaClusterOAuthClientCredentialsAssertionProperty.Builder signingAlgorithm(String signingAlgorithm) Sets the value ofCfnReplicatorPropsMixin.KafkaClusterOAuthClientCredentialsAssertionProperty.getSigningAlgorithm()- Parameters:
signingAlgorithm- The algorithm used to sign the STS JWT assertion.- Returns:
this
-
tokenRequestSecretArn
@Stability(Stable) public CfnReplicatorPropsMixin.KafkaClusterOAuthClientCredentialsAssertionProperty.Builder tokenRequestSecretArn(String tokenRequestSecretArn) Sets the value ofCfnReplicatorPropsMixin.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
@Stability(Stable) public CfnReplicatorPropsMixin.KafkaClusterOAuthClientCredentialsAssertionProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReplicatorPropsMixin.KafkaClusterOAuthClientCredentialsAssertionProperty>- Returns:
- a new instance of
CfnReplicatorPropsMixin.KafkaClusterOAuthClientCredentialsAssertionProperty - Throws:
NullPointerException- if any required attribute was not provided
-