public static class HashiCorpVaultProperties.HashiCorpVaultPropertiesBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
authPropertiesFilename |
private String |
connectionTimeout |
private String |
enabledTlsCipherSuites |
private String |
enabledTlsProtocols |
private String |
keyStore |
private String |
keyStorePassword |
private String |
keyStoreType |
private String |
readTimeout |
private String |
trustStore |
private String |
trustStorePassword |
private String |
trustStoreType |
private String |
uri |
| Constructor and Description |
|---|
HashiCorpVaultPropertiesBuilder() |
private String uri
private String keyStore
private String keyStoreType
private String keyStorePassword
private String trustStore
private String trustStoreType
private String trustStorePassword
private String authPropertiesFilename
private String enabledTlsCipherSuites
private String enabledTlsProtocols
private String connectionTimeout
private String readTimeout
public HashiCorpVaultProperties.HashiCorpVaultPropertiesBuilder setUri(String uri)
uri - Vault's URIpublic HashiCorpVaultProperties.HashiCorpVaultPropertiesBuilder setKeyStore(String keyStore)
keyStore - Path to the keyStorepublic HashiCorpVaultProperties.HashiCorpVaultPropertiesBuilder setKeyStoreType(String keyStoreType)
keyStoreType - KeyStore typepublic HashiCorpVaultProperties.HashiCorpVaultPropertiesBuilder setKeyStorePassword(String keyStorePassword)
keyStorePassword - KeyStore passwordpublic HashiCorpVaultProperties.HashiCorpVaultPropertiesBuilder setTrustStore(String trustStore)
trustStore - Path to the trustStorepublic HashiCorpVaultProperties.HashiCorpVaultPropertiesBuilder setTrustStoreType(String trustStoreType)
trustStoreType - TrustStore typepublic HashiCorpVaultProperties.HashiCorpVaultPropertiesBuilder setTrustStorePassword(String trustStorePassword)
trustStorePassword - TrustStore passwordpublic HashiCorpVaultProperties.HashiCorpVaultPropertiesBuilder setAuthPropertiesFilename(String authPropertiesFilename)
authPropertiesFilename - The filename of a properties file containing Spring Vault authentication
propertiespublic HashiCorpVaultProperties.HashiCorpVaultPropertiesBuilder setEnabledTlsCipherSuites(String enabledTlsCipherSuites)
enabledTlsCipherSuites - Enabled TLS cipher suites (only these will be enabled)public HashiCorpVaultProperties.HashiCorpVaultPropertiesBuilder setEnabledTlsProtocols(String enabledTlsProtocols)
enabledTlsProtocols - Enabled TLS protocols (only these will be enabled)public HashiCorpVaultProperties.HashiCorpVaultPropertiesBuilder setConnectionTimeout(String connectionTimeout)
connectionTimeout - Connection timeout (default is 5 secs)public HashiCorpVaultProperties.HashiCorpVaultPropertiesBuilder setReadTimeout(String readTimeout)
readTimeout - Read timeout (default is 15 secs)public HashiCorpVaultProperties build()
Copyright © 2022 Apache NiFi Project. All rights reserved.