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 TlsConfigbuild()TlsConfig.BuildercertificateStoreType(TlsConfig.CertificateStoreType certificateStoreType)The format of the certificate store.TlsConfig.Buildercopy(TlsConfig model)TlsConfig.BuilderkeyStoreContent(String keyStoreContent)Base64 encoded string of key store file content.TlsConfig.Builderstatus(TlsConfig.Status status)Status to represent whether the database connection is TLS enabled or not.TlsConfig.BuilderstorePassword(char[] storePassword)The password to read the trust store and key store files, if they are password protected.TlsConfig.BuilderstorePassword(String storePassword)TlsConfig.BuildertrustStoreContent(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(char[] 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
-
storePassword
public TlsConfig.Builder storePassword(String storePassword)
-
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)
-
-