Package com.oracle.bmc.servicemesh.model
Class IngressGatewayMutualTransportLayerSecurity.Builder
- java.lang.Object
-
- com.oracle.bmc.servicemesh.model.IngressGatewayMutualTransportLayerSecurity.Builder
-
- Enclosing class:
- IngressGatewayMutualTransportLayerSecurity
public static class IngressGatewayMutualTransportLayerSecurity.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IngressGatewayMutualTransportLayerSecurity
build()
IngressGatewayMutualTransportLayerSecurity.Builder
certificateId(String certificateId)
The OCID of the certificate resource that will be used for mTLS authentication with other virtual services in the mesh.IngressGatewayMutualTransportLayerSecurity.Builder
copy(IngressGatewayMutualTransportLayerSecurity model)
IngressGatewayMutualTransportLayerSecurity.Builder
maximumValidity(Integer maximumValidity)
The number of days the mTLS certificate is valid.
-
-
-
Method Detail
-
certificateId
public IngressGatewayMutualTransportLayerSecurity.Builder certificateId(String certificateId)
The OCID of the certificate resource that will be used for mTLS authentication with other virtual services in the mesh.- Parameters:
certificateId
- the value to set- Returns:
- this builder
-
maximumValidity
public IngressGatewayMutualTransportLayerSecurity.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.
- Parameters:
maximumValidity
- the value to set- Returns:
- this builder
-
build
public IngressGatewayMutualTransportLayerSecurity build()
-
copy
public IngressGatewayMutualTransportLayerSecurity.Builder copy(IngressGatewayMutualTransportLayerSecurity model)
-
-