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