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