Class CfnReplicator.KafkaClusterOAuthIamJwtBearerProperty.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnReplicator.KafkaClusterOAuthIamJwtBearerProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicator.KafkaClusterOAuthIamJwtBearerProperty>
- Enclosing interface:
CfnReplicator.KafkaClusterOAuthIamJwtBearerProperty
@Stability(Stable)
public static final class CfnReplicator.KafkaClusterOAuthIamJwtBearerProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicator.KafkaClusterOAuthIamJwtBearerProperty>
A builder for
CfnReplicator.KafkaClusterOAuthIamJwtBearerProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnReplicator.KafkaClusterOAuthIamJwtBearerProperty.getAudience()build()Builds the configured instance.signingAlgorithm(String signingAlgorithm) tokenRequestSecretArn(String tokenRequestSecretArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
audience
@Stability(Stable) public CfnReplicator.KafkaClusterOAuthIamJwtBearerProperty.Builder audience(String audience) Sets the value ofCfnReplicator.KafkaClusterOAuthIamJwtBearerProperty.getAudience()- Parameters:
audience- The audience (aud claim) set in the STS JWT assertion. This parameter is required.- Returns:
this
-
signingAlgorithm
@Stability(Stable) public CfnReplicator.KafkaClusterOAuthIamJwtBearerProperty.Builder signingAlgorithm(String signingAlgorithm) - Parameters:
signingAlgorithm- The algorithm used to sign the STS JWT assertion. This parameter is required.- Returns:
this
-
tokenRequestSecretArn
@Stability(Stable) public CfnReplicator.KafkaClusterOAuthIamJwtBearerProperty.Builder tokenRequestSecretArn(String tokenRequestSecretArn) - 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<CfnReplicator.KafkaClusterOAuthIamJwtBearerProperty>- Returns:
- a new instance of
CfnReplicator.KafkaClusterOAuthIamJwtBearerProperty - Throws:
NullPointerException- if any required attribute was not provided
-