public static class VirtualServiceMutualTransportLayerSecurityDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VirtualServiceMutualTransportLayerSecurityDetails |
build() |
VirtualServiceMutualTransportLayerSecurityDetails.Builder |
copy(VirtualServiceMutualTransportLayerSecurityDetails model) |
VirtualServiceMutualTransportLayerSecurityDetails.Builder |
maximumValidity(Integer maximumValidity)
The number of days the mTLS certificate is valid.
|
VirtualServiceMutualTransportLayerSecurityDetails.Builder |
mode(MutualTransportLayerSecurity.Mode mode)
DISABLED: Connection is not tunneled.
|
public VirtualServiceMutualTransportLayerSecurityDetails.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 VirtualServiceMutualTransportLayerSecurityDetails.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 VirtualServiceMutualTransportLayerSecurityDetails build()
Copyright © 2016–2024. All rights reserved.