Interface AwsMskClusterClusterInfoClientAuthenticationDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsMskClusterClusterInfoClientAuthenticationDetails.Builder,,AwsMskClusterClusterInfoClientAuthenticationDetails> SdkBuilder<AwsMskClusterClusterInfoClientAuthenticationDetails.Builder,,AwsMskClusterClusterInfoClientAuthenticationDetails> SdkPojo
- Enclosing class:
AwsMskClusterClusterInfoClientAuthenticationDetails
-
Method Summary
Modifier and TypeMethodDescriptionProvides details for client authentication using SASL.Provides details for client authentication using SASL.Provides details for client authentication using TLS.Provides details for client authentication using TLS.unauthenticated(Consumer<AwsMskClusterClusterInfoClientAuthenticationUnauthenticatedDetails.Builder> unauthenticated) Provides details for allowing no client authentication.Provides details for allowing no client authentication.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, sdkFields
-
Method Details
-
sasl
AwsMskClusterClusterInfoClientAuthenticationDetails.Builder sasl(AwsMskClusterClusterInfoClientAuthenticationSaslDetails sasl) Provides details for client authentication using SASL.
- Parameters:
sasl- Provides details for client authentication using SASL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sasl
default AwsMskClusterClusterInfoClientAuthenticationDetails.Builder sasl(Consumer<AwsMskClusterClusterInfoClientAuthenticationSaslDetails.Builder> sasl) Provides details for client authentication using SASL.
This is a convenience method that creates an instance of theAwsMskClusterClusterInfoClientAuthenticationSaslDetails.Builderavoiding the need to create one manually viaAwsMskClusterClusterInfoClientAuthenticationSaslDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosasl(AwsMskClusterClusterInfoClientAuthenticationSaslDetails).- Parameters:
sasl- a consumer that will call methods onAwsMskClusterClusterInfoClientAuthenticationSaslDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unauthenticated
AwsMskClusterClusterInfoClientAuthenticationDetails.Builder unauthenticated(AwsMskClusterClusterInfoClientAuthenticationUnauthenticatedDetails unauthenticated) Provides details for allowing no client authentication.
- Parameters:
unauthenticated- Provides details for allowing no client authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unauthenticated
default AwsMskClusterClusterInfoClientAuthenticationDetails.Builder unauthenticated(Consumer<AwsMskClusterClusterInfoClientAuthenticationUnauthenticatedDetails.Builder> unauthenticated) Provides details for allowing no client authentication.
This is a convenience method that creates an instance of theAwsMskClusterClusterInfoClientAuthenticationUnauthenticatedDetails.Builderavoiding the need to create one manually viaAwsMskClusterClusterInfoClientAuthenticationUnauthenticatedDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tounauthenticated(AwsMskClusterClusterInfoClientAuthenticationUnauthenticatedDetails).- Parameters:
unauthenticated- a consumer that will call methods onAwsMskClusterClusterInfoClientAuthenticationUnauthenticatedDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tls
AwsMskClusterClusterInfoClientAuthenticationDetails.Builder tls(AwsMskClusterClusterInfoClientAuthenticationTlsDetails tls) Provides details for client authentication using TLS.
- Parameters:
tls- Provides details for client authentication using TLS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tls
default AwsMskClusterClusterInfoClientAuthenticationDetails.Builder tls(Consumer<AwsMskClusterClusterInfoClientAuthenticationTlsDetails.Builder> tls) Provides details for client authentication using TLS.
This is a convenience method that creates an instance of theAwsMskClusterClusterInfoClientAuthenticationTlsDetails.Builderavoiding the need to create one manually viaAwsMskClusterClusterInfoClientAuthenticationTlsDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totls(AwsMskClusterClusterInfoClientAuthenticationTlsDetails).- Parameters:
tls- a consumer that will call methods onAwsMskClusterClusterInfoClientAuthenticationTlsDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-