public static final class ProvidersTypes.KeyServerInfo.Builder
extends java.lang.Object
ProvidersTypes.KeyServerInfo
.Constructor and Description |
---|
Builder(ProvidersTypes.KeyServerInfo.Type type,
java.lang.String description)
Constructor with parameters for the required properties of
ProvidersTypes.KeyServerInfo . |
Modifier and Type | Method and Description |
---|---|
ProvidersTypes.KeyServerInfo |
build() |
ProvidersTypes.KeyServerInfo.Builder |
setConnectionTimeout(java.lang.Long connectionTimeout)
Connection timeout in seconds.
|
ProvidersTypes.KeyServerInfo.Builder |
setKmipServer(ProvidersTypes.KmipServerInfo kmipServer)
Configuration information for KMIP based key server.
|
ProvidersTypes.KeyServerInfo.Builder |
setProxyServer(NetworkAddress proxyServer)
Proxy server configuration.
|
public Builder(ProvidersTypes.KeyServerInfo.Type type, java.lang.String description)
ProvidersTypes.KeyServerInfo
.public ProvidersTypes.KeyServerInfo.Builder setProxyServer(NetworkAddress proxyServer)
null
, proxy server configuration will not be set.proxyServer
- New value for the property.public ProvidersTypes.KeyServerInfo.Builder setConnectionTimeout(java.lang.Long connectionTimeout)
null
, connection timeout will be unset.connectionTimeout
- New value for the property.public ProvidersTypes.KeyServerInfo.Builder setKmipServer(ProvidersTypes.KmipServerInfo kmipServer)
getType()
is ProvidersTypes.KeyServerInfo.Type.KMIP
.kmipServer
- New value for the property.public ProvidersTypes.KeyServerInfo build()