Class LettuceClientConfiguration.LettuceSslClientConfigurationBuilder
java.lang.Object
org.springframework.data.redis.connection.lettuce.LettuceClientConfiguration.LettuceSslClientConfigurationBuilder
- Direct Known Subclasses:
LettucePoolingClientConfiguration.LettucePoolingSslClientConfigurationBuilder
- Enclosing interface:
- LettuceClientConfiguration
Builder for SSL-related
LettuceClientConfiguration
.-
Method Summary
Modifier and TypeMethodDescriptionand()
build()
Build theLettuceClientConfiguration
with the configuration applied from this builder.Disable peer verification.startTls()
Enable Start TLS to send the first bytes unencrypted.verifyPeer
(io.lettuce.core.SslVerifyMode verifyMode) Configure peer verification.
-
Method Details
-
verifyPeer
public LettuceClientConfiguration.LettuceSslClientConfigurationBuilder verifyPeer(io.lettuce.core.SslVerifyMode verifyMode) Configure peer verification.- Returns:
- this builder.
- Since:
- 3.4
-
disablePeerVerification
Disable peer verification.- Returns:
- this builder.
-
startTls
Enable Start TLS to send the first bytes unencrypted.- Returns:
- this builder.
-
and
-
build
Build theLettuceClientConfiguration
with the configuration applied from this builder.- Returns:
- a new
LettuceClientConfiguration
object.
-