Package com.vmware.nsx_policy.model
Class LBClientSslProfileBinding.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LBClientSslProfileBinding.Builder
-
- Enclosing class:
- LBClientSslProfileBinding
public static final class LBClientSslProfileBinding.Builder extends java.lang.Object
Builder class forLBClientSslProfileBinding
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLBClientSslProfileBinding
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LBClientSslProfileBinding
build()
LBClientSslProfileBinding.Builder
setCertificateChainDepth(java.lang.Long certificateChainDepth)
Authentication depth is used to set the verification depth in the client certificates chain.LBClientSslProfileBinding.Builder
setClientAuth(java.lang.String clientAuth)
Possible values are:LBClientSslProfileBinding.CLIENT_AUTH_REQUIRED
LBClientSslProfileBinding.CLIENT_AUTH_IGNORE
Client authentication mode.LBClientSslProfileBinding.Builder
setClientAuthCaPaths(java.util.List<java.lang.String> clientAuthCaPaths)
If client auth type is REQUIRED, client certificate must be signed by one of the trusted Certificate Authorities (CAs), also referred to as root CAs, whose self signed certificates are specified.LBClientSslProfileBinding.Builder
setClientAuthCrlPaths(java.util.List<java.lang.String> clientAuthCrlPaths)
A Certificate Revocation List (CRL) can be specified in the client-side SSL profile binding to disallow compromised client certificates.LBClientSslProfileBinding.Builder
setDefaultCertificatePath(java.lang.String defaultCertificatePath)
A default certificate should be specified which will be used if the server does not host multiple hostnames on the same IP address or if the client does not support SNI extension.LBClientSslProfileBinding.Builder
setSniCertificatePaths(java.util.List<java.lang.String> sniCertificatePaths)
Client-side SSL profile binding allows multiple certificates, for different hostnames, to be bound to the same virtual server.LBClientSslProfileBinding.Builder
setSslProfilePath(java.lang.String sslProfilePath)
Client SSL profile defines reusable, application-independent client side SSL properties.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLBClientSslProfileBinding
.
-
-
Method Detail
-
setCertificateChainDepth
public LBClientSslProfileBinding.Builder setCertificateChainDepth(java.lang.Long certificateChainDepth)
Authentication depth is used to set the verification depth in the client certificates chain. format: int64- Parameters:
certificateChainDepth
- New value for the property.
-
setClientAuth
public LBClientSslProfileBinding.Builder setClientAuth(java.lang.String clientAuth)
Possible values are: Client authentication mode.- Parameters:
clientAuth
- New value for the property.
-
setClientAuthCaPaths
public LBClientSslProfileBinding.Builder setClientAuthCaPaths(java.util.List<java.lang.String> clientAuthCaPaths)
If client auth type is REQUIRED, client certificate must be signed by one of the trusted Certificate Authorities (CAs), also referred to as root CAs, whose self signed certificates are specified.- Parameters:
clientAuthCaPaths
- New value for the property.
-
setClientAuthCrlPaths
public LBClientSslProfileBinding.Builder setClientAuthCrlPaths(java.util.List<java.lang.String> clientAuthCrlPaths)
A Certificate Revocation List (CRL) can be specified in the client-side SSL profile binding to disallow compromised client certificates.- Parameters:
clientAuthCrlPaths
- New value for the property.
-
setDefaultCertificatePath
public LBClientSslProfileBinding.Builder setDefaultCertificatePath(java.lang.String defaultCertificatePath)
A default certificate should be specified which will be used if the server does not host multiple hostnames on the same IP address or if the client does not support SNI extension.- Parameters:
defaultCertificatePath
- New value for the property.
-
setSniCertificatePaths
public LBClientSslProfileBinding.Builder setSniCertificatePaths(java.util.List<java.lang.String> sniCertificatePaths)
Client-side SSL profile binding allows multiple certificates, for different hostnames, to be bound to the same virtual server.- Parameters:
sniCertificatePaths
- New value for the property.
-
setSslProfilePath
public LBClientSslProfileBinding.Builder setSslProfilePath(java.lang.String sslProfilePath)
Client SSL profile defines reusable, application-independent client side SSL properties.- Parameters:
sslProfilePath
- New value for the property.
-
build
public LBClientSslProfileBinding build()
-
-