Package com.vmware.nsx_policy.model
Class KeyStoreInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.KeyStoreInfo.Builder
-
- Enclosing class:
- KeyStoreInfo
public static final class KeyStoreInfo.Builder extends java.lang.ObjectBuilder class forKeyStoreInfo.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofKeyStoreInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyStoreInfobuild()KeyStoreInfo.BuildersetKeystore(java.lang.String keystore)A location of the keystor file which stores private key and identity certificates that will be presented to both parties (server or client) for verification.KeyStoreInfo.BuildersetKeystoreAlias(java.lang.String keystoreAlias)Its an alias specified when an entity is added to the keystore.KeyStoreInfo.BuildersetKeystorePhrase(java.lang.String keystorePhrase)A location of the key store pass phrase file.KeyStoreInfo.BuildersetTruststore(java.lang.String truststore)A location of the trust store file which stores the certificate from CA that verify the certificate presented by the server in SSL connection.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofKeyStoreInfo.
-
-
Method Detail
-
setKeystore
public KeyStoreInfo.Builder setKeystore(java.lang.String keystore)
A location of the keystor file which stores private key and identity certificates that will be presented to both parties (server or client) for verification.- Parameters:
keystore- New value for the property.
-
setKeystoreAlias
public KeyStoreInfo.Builder setKeystoreAlias(java.lang.String keystoreAlias)
Its an alias specified when an entity is added to the keystore.- Parameters:
keystoreAlias- New value for the property.
-
setKeystorePhrase
public KeyStoreInfo.Builder setKeystorePhrase(java.lang.String keystorePhrase)
A location of the key store pass phrase file.- Parameters:
keystorePhrase- New value for the property.
-
setTruststore
public KeyStoreInfo.Builder setTruststore(java.lang.String truststore)
A location of the trust store file which stores the certificate from CA that verify the certificate presented by the server in SSL connection.- Parameters:
truststore- New value for the property.
-
build
public KeyStoreInfo build()
-
-