Interface KafkaClusterSaslOAuthBearerAuthentication.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<KafkaClusterSaslOAuthBearerAuthentication.Builder,,KafkaClusterSaslOAuthBearerAuthentication> SdkBuilder<KafkaClusterSaslOAuthBearerAuthentication.Builder,,KafkaClusterSaslOAuthBearerAuthentication> SdkPojo
- Enclosing class:
KafkaClusterSaslOAuthBearerAuthentication
-
Method Summary
Modifier and TypeMethodDescriptionclientCredentials(Consumer<KafkaClusterOAuthClientCredentials.Builder> clientCredentials) Details for SASL/OAUTHBEARER using standard client_credentials grant.clientCredentials(KafkaClusterOAuthClientCredentials clientCredentials) Details for SASL/OAUTHBEARER using standard client_credentials grant.clientCredentialsAssertion(Consumer<KafkaClusterOAuthClientCredentialsAssertion.Builder> clientCredentialsAssertion) Details for SASL/OAUTHBEARER using client credentials grant with JWT client assertion.clientCredentialsAssertion(KafkaClusterOAuthClientCredentialsAssertion clientCredentialsAssertion) Details for SASL/OAUTHBEARER using client credentials grant with JWT client assertion.iamJwtBearer(Consumer<KafkaClusterOAuthIamJwtBearer.Builder> iamJwtBearer) Details for SASL/OAUTHBEARER using JWT Bearer assertion grant (RFC 7523).iamJwtBearer(KafkaClusterOAuthIamJwtBearer iamJwtBearer) Details for SASL/OAUTHBEARER using JWT Bearer assertion grant (RFC 7523).OAuth scope to request.tokenEndpointAuthenticationMethod(String tokenEndpointAuthenticationMethod) How client credentials are sent to the identity provider.tokenEndpointAuthenticationMethod(TokenEndpointAuthenticationMethod tokenEndpointAuthenticationMethod) How client credentials are sent to the identity provider.tokenEndpointTlsCertificateArn(String tokenEndpointTlsCertificateArn) Secrets Manager ARN containing a custom CA certificate for the identity provider.tokenEndpointUrl(String tokenEndpointUrl) The HTTPS URL of the OAuth token endpoint that vends OAuth Bearer tokens per RFC 6749.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
tokenEndpointUrl
The HTTPS URL of the OAuth token endpoint that vends OAuth Bearer tokens per RFC 6749.
- Parameters:
tokenEndpointUrl- The HTTPS URL of the OAuth token endpoint that vends OAuth Bearer tokens per RFC 6749.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientCredentials
KafkaClusterSaslOAuthBearerAuthentication.Builder clientCredentials(KafkaClusterOAuthClientCredentials clientCredentials) Details for SASL/OAUTHBEARER using standard client_credentials grant.
- Parameters:
clientCredentials- Details for SASL/OAUTHBEARER using standard client_credentials grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientCredentials
default KafkaClusterSaslOAuthBearerAuthentication.Builder clientCredentials(Consumer<KafkaClusterOAuthClientCredentials.Builder> clientCredentials) Details for SASL/OAUTHBEARER using standard client_credentials grant.
This is a convenience method that creates an instance of theKafkaClusterOAuthClientCredentials.Builderavoiding the need to create one manually viaKafkaClusterOAuthClientCredentials.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclientCredentials(KafkaClusterOAuthClientCredentials).- Parameters:
clientCredentials- a consumer that will call methods onKafkaClusterOAuthClientCredentials.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
iamJwtBearer
KafkaClusterSaslOAuthBearerAuthentication.Builder iamJwtBearer(KafkaClusterOAuthIamJwtBearer iamJwtBearer) Details for SASL/OAUTHBEARER using JWT Bearer assertion grant (RFC 7523).
- Parameters:
iamJwtBearer- Details for SASL/OAUTHBEARER using JWT Bearer assertion grant (RFC 7523).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamJwtBearer
default KafkaClusterSaslOAuthBearerAuthentication.Builder iamJwtBearer(Consumer<KafkaClusterOAuthIamJwtBearer.Builder> iamJwtBearer) Details for SASL/OAUTHBEARER using JWT Bearer assertion grant (RFC 7523).
This is a convenience method that creates an instance of theKafkaClusterOAuthIamJwtBearer.Builderavoiding the need to create one manually viaKafkaClusterOAuthIamJwtBearer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toiamJwtBearer(KafkaClusterOAuthIamJwtBearer).- Parameters:
iamJwtBearer- a consumer that will call methods onKafkaClusterOAuthIamJwtBearer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientCredentialsAssertion
KafkaClusterSaslOAuthBearerAuthentication.Builder clientCredentialsAssertion(KafkaClusterOAuthClientCredentialsAssertion clientCredentialsAssertion) Details for SASL/OAUTHBEARER using client credentials grant with JWT client assertion.
- Parameters:
clientCredentialsAssertion- Details for SASL/OAUTHBEARER using client credentials grant with JWT client assertion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientCredentialsAssertion
default KafkaClusterSaslOAuthBearerAuthentication.Builder clientCredentialsAssertion(Consumer<KafkaClusterOAuthClientCredentialsAssertion.Builder> clientCredentialsAssertion) Details for SASL/OAUTHBEARER using client credentials grant with JWT client assertion.
This is a convenience method that creates an instance of theKafkaClusterOAuthClientCredentialsAssertion.Builderavoiding the need to create one manually viaKafkaClusterOAuthClientCredentialsAssertion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclientCredentialsAssertion(KafkaClusterOAuthClientCredentialsAssertion).- Parameters:
clientCredentialsAssertion- a consumer that will call methods onKafkaClusterOAuthClientCredentialsAssertion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tokenEndpointAuthenticationMethod
KafkaClusterSaslOAuthBearerAuthentication.Builder tokenEndpointAuthenticationMethod(String tokenEndpointAuthenticationMethod) How client credentials are sent to the identity provider. Valid values are POST, BASIC, or NONE.
- Parameters:
tokenEndpointAuthenticationMethod- How client credentials are sent to the identity provider. Valid values are POST, BASIC, or NONE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tokenEndpointAuthenticationMethod
KafkaClusterSaslOAuthBearerAuthentication.Builder tokenEndpointAuthenticationMethod(TokenEndpointAuthenticationMethod tokenEndpointAuthenticationMethod) How client credentials are sent to the identity provider. Valid values are POST, BASIC, or NONE.
- Parameters:
tokenEndpointAuthenticationMethod- How client credentials are sent to the identity provider. Valid values are POST, BASIC, or NONE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scope
OAuth scope to request.
- Parameters:
scope- OAuth scope to request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenEndpointTlsCertificateArn
KafkaClusterSaslOAuthBearerAuthentication.Builder tokenEndpointTlsCertificateArn(String tokenEndpointTlsCertificateArn) Secrets Manager ARN containing a custom CA certificate for the identity provider.
- Parameters:
tokenEndpointTlsCertificateArn- Secrets Manager ARN containing a custom CA certificate for the identity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-