Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TlsConfig |
build() |
TlsConfig.Builder |
certificateStoreType(TlsConfig.CertificateStoreType certificateStoreType)
The format of the certificate store.
|
TlsConfig.Builder |
copy(TlsConfig model) |
TlsConfig.Builder |
keyStoreContent(String keyStoreContent)
Base64 encoded string of key store file content.
|
TlsConfig.Builder |
status(TlsConfig.Status status)
Status to represent whether the database connection is TLS enabled or not.
|
TlsConfig.Builder |
storePassword(String storePassword)
The password to read the trust store and key store files, if they are password protected.
|
TlsConfig.Builder |
trustStoreContent(String trustStoreContent)
Base64 encoded string of trust store file content.
|
public TlsConfig.Builder status(TlsConfig.Status status)
Status to represent whether the database connection is TLS enabled or not.
status
- the value to setpublic TlsConfig.Builder certificateStoreType(TlsConfig.CertificateStoreType certificateStoreType)
The format of the certificate store.
certificateStoreType
- the value to setpublic TlsConfig.Builder storePassword(String storePassword)
The password to read the trust store and key store files, if they are password protected.
storePassword
- the value to setpublic TlsConfig.Builder trustStoreContent(String trustStoreContent)
Base64 encoded string of trust store file content.
trustStoreContent
- the value to setpublic TlsConfig.Builder keyStoreContent(String keyStoreContent)
Base64 encoded string of key store file content.
keyStoreContent
- the value to setpublic TlsConfig build()
public TlsConfig.Builder copy(TlsConfig model)
Copyright © 2016–2024. All rights reserved.