Class SecretStoreConfig.Builder
- java.lang.Object
-
- com.yahoo.container.jdisc.secretstore.SecretStoreConfig.Builder
-
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
,com.yahoo.config.ConfigInstance.Builder
- Enclosing class:
- SecretStoreConfig
public static class SecretStoreConfig.Builder extends Object implements com.yahoo.config.ConfigInstance.Builder
-
-
Field Summary
Fields Modifier and Type Field Description List<SecretStoreConfig.AwsParameterStores.Builder>
awsParameterStores
List<SecretStoreConfig.Groups.Builder>
groups
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(SecretStoreConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretStoreConfig.Builder
awsParameterStores(SecretStoreConfig.AwsParameterStores.Builder __builder)
Add the given builder to this builder's list of AwsParameterStores buildersSecretStoreConfig.Builder
awsParameterStores(Consumer<SecretStoreConfig.AwsParameterStores.Builder> __func)
Make a new builder and run the supplied function on it before adding it to the listSecretStoreConfig.Builder
awsParameterStores(List<SecretStoreConfig.AwsParameterStores.Builder> __builders)
Set the given list as this builder's list of AwsParameterStores buildersSecretStoreConfig
build()
boolean
dispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer)
boolean
getApplyOnRestart()
String
getDefMd5()
String
getDefName()
String
getDefNamespace()
SecretStoreConfig.Builder
groups(SecretStoreConfig.Groups.Builder __builder)
Add the given builder to this builder's list of Groups buildersSecretStoreConfig.Builder
groups(Consumer<SecretStoreConfig.Groups.Builder> __func)
Make a new builder and run the supplied function on it before adding it to the listSecretStoreConfig.Builder
groups(List<SecretStoreConfig.Groups.Builder> __builders)
Set the given list as this builder's list of Groups buildersvoid
setApplyOnRestart(boolean applyOnRestart)
-
-
-
Field Detail
-
groups
public List<SecretStoreConfig.Groups.Builder> groups
-
awsParameterStores
public List<SecretStoreConfig.AwsParameterStores.Builder> awsParameterStores
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SecretStoreConfig config)
-
-
Method Detail
-
groups
public SecretStoreConfig.Builder groups(SecretStoreConfig.Groups.Builder __builder)
Add the given builder to this builder's list of Groups builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
groups
public SecretStoreConfig.Builder groups(Consumer<SecretStoreConfig.Groups.Builder> __func)
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func
- lambda that modifies the given builder- Returns:
- this builder
-
groups
public SecretStoreConfig.Builder groups(List<SecretStoreConfig.Groups.Builder> __builders)
Set the given list as this builder's list of Groups builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
awsParameterStores
public SecretStoreConfig.Builder awsParameterStores(SecretStoreConfig.AwsParameterStores.Builder __builder)
Add the given builder to this builder's list of AwsParameterStores builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
awsParameterStores
public SecretStoreConfig.Builder awsParameterStores(Consumer<SecretStoreConfig.AwsParameterStores.Builder> __func)
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func
- lambda that modifies the given builder- Returns:
- this builder
-
awsParameterStores
public SecretStoreConfig.Builder awsParameterStores(List<SecretStoreConfig.AwsParameterStores.Builder> __builders)
Set the given list as this builder's list of AwsParameterStores builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
dispatchGetConfig
public final boolean dispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer)
- Specified by:
dispatchGetConfig
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefMd5
public final String getDefMd5()
- Specified by:
getDefMd5
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefName
public final String getDefName()
- Specified by:
getDefName
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefNamespace
public final String 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
public SecretStoreConfig build()
-
-