Package com.oracle.bmc.datasafe.model
Class TlsConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.TlsConfig.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
status
public TlsConfig.Builder status(TlsConfig.Status status)
Status to represent whether the database connection is TLS enabled or not.- Parameters:
status
- the value to set- Returns:
- this builder
-
certificateStoreType
public TlsConfig.Builder certificateStoreType(TlsConfig.CertificateStoreType certificateStoreType)
The format of the certificate store.- Parameters:
certificateStoreType
- the value to set- Returns:
- this builder
-
storePassword
public TlsConfig.Builder storePassword(String storePassword)
The password to read the trust store and key store files, if they are password protected.- Parameters:
storePassword
- the value to set- Returns:
- this builder
-
trustStoreContent
public TlsConfig.Builder trustStoreContent(String trustStoreContent)
Base64 encoded string of trust store file content.- Parameters:
trustStoreContent
- the value to set- Returns:
- this builder
-
keyStoreContent
public TlsConfig.Builder keyStoreContent(String keyStoreContent)
Base64 encoded string of key store file content.- Parameters:
keyStoreContent
- the value to set- Returns:
- this builder
-
build
public TlsConfig build()
-
copy
public TlsConfig.Builder copy(TlsConfig model)
-
-