Package ai.vespa.secret.config
Class SecretsConfig.Builder
java.lang.Object
ai.vespa.secret.config.SecretsConfig.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
,com.yahoo.config.ConfigInstance.Builder
- Enclosing class:
- SecretsConfig
public static final class SecretsConfig.Builder
extends Object
implements com.yahoo.config.ConfigInstance.Builder
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
final boolean
dispatchGetConfig
(com.yahoo.config.ConfigInstance.Producer producer) final boolean
final String
final String
final String
intervalSeconds
(int __value) secret
(String __key, SecretsConfig.Secret.Builder __value) secret
(String __key, Consumer<SecretsConfig.Secret.Builder> __func) Make a new builder and run the supplied function on it before using it as the valuesecret
(Map<String, SecretsConfig.Secret.Builder> __values) final void
setApplyOnRestart
(boolean applyOnRestart)
-
Field Details
-
secret
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
intervalSeconds
-
secret
-
secret
-
secret
Make a new builder and run the supplied function on it before using it as the value- Parameters:
__func
- lambda that modifies the given builder- Returns:
- this builder
-
dispatchGetConfig
public final boolean dispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer) - Specified by:
dispatchGetConfig
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefMd5
- Specified by:
getDefMd5
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefName
- Specified by:
getDefName
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefNamespace
- Specified by:
getDefNamespace
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getApplyOnRestart
public final boolean getApplyOnRestart()- Specified by:
getApplyOnRestart
in interfacecom.yahoo.config.ConfigInstance.Builder
-
setApplyOnRestart
public final void setApplyOnRestart(boolean applyOnRestart) - Specified by:
setApplyOnRestart
in interfacecom.yahoo.config.ConfigInstance.Builder
-
build
-