Package com.vmware.nsx_policy.model
Class LBServerSslProfileBinding.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LBServerSslProfileBinding.Builder
-
- Enclosing class:
- LBServerSslProfileBinding
public static final class LBServerSslProfileBinding.Builder extends java.lang.ObjectBuilder class forLBServerSslProfileBinding.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofLBServerSslProfileBinding.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LBServerSslProfileBindingbuild()LBServerSslProfileBinding.BuildersetCertificateChainDepth(java.lang.Long certificateChainDepth)Authentication depth is used to set the verification depth in the server certificates chain.LBServerSslProfileBinding.BuildersetClientCertificatePath(java.lang.String clientCertificatePath)To support client authentication (load balancer acting as a client authenticating to the backend server), client certificate can be specified in the server-side SSL profile bindingLBServerSslProfileBinding.BuildersetServerAuth(java.lang.String serverAuth)Possible values are:LBServerSslProfileBinding.SERVER_AUTH_REQUIREDLBServerSslProfileBinding.SERVER_AUTH_IGNORELBServerSslProfileBinding.SERVER_AUTH_AUTO_APPLYServer authentication mode.LBServerSslProfileBinding.BuildersetServerAuthCaPaths(java.util.List<java.lang.String> serverAuthCaPaths)If server auth type is REQUIRED, server certificate must be signed by one of the trusted Certificate Authorities (CAs), also referred to as root CAs, whose self signed certificates are specified.LBServerSslProfileBinding.BuildersetServerAuthCrlPaths(java.util.List<java.lang.String> serverAuthCrlPaths)A Certificate Revocation List (CRL) can be specified in the server-side SSL profile binding to disallow compromised server certificates.LBServerSslProfileBinding.BuildersetSslProfilePath(java.lang.String sslProfilePath)Server SSL profile defines reusable, application-independent server side SSL properties.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLBServerSslProfileBinding.
-
-
Method Detail
-
setCertificateChainDepth
public LBServerSslProfileBinding.Builder setCertificateChainDepth(java.lang.Long certificateChainDepth)
Authentication depth is used to set the verification depth in the server certificates chain. format: int64- Parameters:
certificateChainDepth- New value for the property.
-
setClientCertificatePath
public LBServerSslProfileBinding.Builder setClientCertificatePath(java.lang.String clientCertificatePath)
To support client authentication (load balancer acting as a client authenticating to the backend server), client certificate can be specified in the server-side SSL profile binding- Parameters:
clientCertificatePath- New value for the property.
-
setServerAuth
public LBServerSslProfileBinding.Builder setServerAuth(java.lang.String serverAuth)
Possible values are: Server authentication mode.- Parameters:
serverAuth- New value for the property.
-
setServerAuthCaPaths
public LBServerSslProfileBinding.Builder setServerAuthCaPaths(java.util.List<java.lang.String> serverAuthCaPaths)
If server auth type is REQUIRED, server 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:
serverAuthCaPaths- New value for the property.
-
setServerAuthCrlPaths
public LBServerSslProfileBinding.Builder setServerAuthCrlPaths(java.util.List<java.lang.String> serverAuthCrlPaths)
A Certificate Revocation List (CRL) can be specified in the server-side SSL profile binding to disallow compromised server certificates.- Parameters:
serverAuthCrlPaths- New value for the property.
-
setSslProfilePath
public LBServerSslProfileBinding.Builder setSslProfilePath(java.lang.String sslProfilePath)
Server SSL profile defines reusable, application-independent server side SSL properties.- Parameters:
sslProfilePath- New value for the property.
-
build
public LBServerSslProfileBinding build()
-
-