public static class MutualTransportLayerSecurity.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MutualTransportLayerSecurity |
build() |
MutualTransportLayerSecurity.Builder |
certificateId(String certificateId)
The OCID of the certificate resource that will be used for mTLS authentication with other
virtual services in the mesh.
|
MutualTransportLayerSecurity.Builder |
copy(MutualTransportLayerSecurity model) |
MutualTransportLayerSecurity.Builder |
maximumValidity(Integer maximumValidity)
The number of days the mTLS certificate is valid.
|
MutualTransportLayerSecurity.Builder |
mode(MutualTransportLayerSecurity.Mode mode)
DISABLED: Connection is not tunneled.
|
public MutualTransportLayerSecurity.Builder certificateId(String certificateId)
The OCID of the certificate resource that will be used for mTLS authentication with other virtual services in the mesh.
certificateId
- the value to setpublic MutualTransportLayerSecurity.Builder maximumValidity(Integer maximumValidity)
The number of days the mTLS certificate is valid. This value should be less than the Maximum Validity Duration for Certificates (Days) setting on the Certificate Authority associated with this Mesh. The certificate will be automatically renewed after 2/3 of the validity period, so a certificate with a maximum validity of 45 days will be renewed every 30 days.
maximumValidity
- the value to setpublic MutualTransportLayerSecurity.Builder mode(MutualTransportLayerSecurity.Mode mode)
DISABLED: Connection is not tunneled. PERMISSIVE: Connection can be either plaintext or an mTLS tunnel. STRICT: Connection is an mTLS tunnel. Clients without a valid certificate will be rejected.
mode
- the value to setpublic MutualTransportLayerSecurity build()
public MutualTransportLayerSecurity.Builder copy(MutualTransportLayerSecurity model)
Copyright © 2016–2024. All rights reserved.