@Generated(value={"common/config/src/templates/ConfigBuilder.stg","common/config/config.gradle"})
public final class PropertiesRedactionRuleConfigBuilder
extends java.lang.Object
PropertiesRedactionRuleConfig.| Constructor and Description |
|---|
PropertiesRedactionRuleConfigBuilder()
Constructs an empty PropertiesRedactionRuleConfigBuilder
|
PropertiesRedactionRuleConfigBuilder(java.util.Map<PropertiesRedactionRuleConfig.Field,java.lang.Object> values)
Constructs a PropertiesRedactionRuleConfigBuilder initialized with the values from the given map
|
PropertiesRedactionRuleConfigBuilder(PropertiesRedactionRuleConfig config)
Constructs a PropertiesRedactionRuleConfigBuilder initialized with the values from the given config
|
PropertiesRedactionRuleConfigBuilder(PropertiesRedactionRuleConfigBuilder builder)
Constructs a PropertiesRedactionRuleConfigBuilder initialized with the values from the given builder
|
| Modifier and Type | Method and Description |
|---|---|
PropertiesRedactionRuleConfig |
build()
Builds the PropertiesRedactionRuleConfig with a
parentPath of null. |
PropertiesRedactionRuleConfig |
build(java.lang.String parentPath)
Builds the PropertiesRedactionRuleConfig.
|
static PropertiesRedactionRuleConfig |
buildPropertiesRedactionRuleConfig(java.util.function.Consumer<PropertiesRedactionRuleConfigBuilder> builderSetup)
Builds a
PropertiesRedactionRuleConfig in-place |
PropertiesRedactionRuleConfigBuilder |
clear()
Clears all values from the builder
|
java.util.Map<PropertiesRedactionRuleConfig.Field,java.lang.Object> |
getValues() |
PropertiesRedactionRuleConfigBuilder |
putAll(java.util.Map<PropertiesRedactionRuleConfig.Field,java.lang.Object> values)
Puts all values from the given map into this builder.
|
PropertiesRedactionRuleConfigBuilder |
putAll(PropertiesRedactionRuleConfig config)
Puts all values from the given config into this builder
|
PropertiesRedactionRuleConfigBuilder |
setLabel(java.lang.String label)
Vertex / Edge label to which the rule is applied
|
PropertiesRedactionRuleConfigBuilder |
setProperties(java.lang.String... properties)
List of properties to be redacted
|
PropertiesRedactionRuleConfigBuilder |
setRuleTrigger(java.lang.String ruleTrigger)
Trigger expression for the rule
|
java.io.InputStream |
toInputStream() |
java.lang.String |
toString() |
public PropertiesRedactionRuleConfigBuilder()
public PropertiesRedactionRuleConfigBuilder(java.util.Map<PropertiesRedactionRuleConfig.Field,java.lang.Object> values)
values - a map containing configuration valuespublic PropertiesRedactionRuleConfigBuilder(PropertiesRedactionRuleConfig config)
config - the configuration to take the values frompublic PropertiesRedactionRuleConfigBuilder(PropertiesRedactionRuleConfigBuilder builder)
builder - the builder to take the values frompublic PropertiesRedactionRuleConfig build()
parentPath of null.build(String)public PropertiesRedactionRuleConfig build(java.lang.String parentPath)
parentPath - if not null, resolves relative paths against this parentPathpublic static PropertiesRedactionRuleConfig buildPropertiesRedactionRuleConfig(java.util.function.Consumer<PropertiesRedactionRuleConfigBuilder> builderSetup)
PropertiesRedactionRuleConfig in-placebuilderSetup - a consumer to setup a newly created PropertiesRedactionRuleConfigpublic PropertiesRedactionRuleConfigBuilder clear()
public java.util.Map<PropertiesRedactionRuleConfig.Field,java.lang.Object> getValues()
public PropertiesRedactionRuleConfigBuilder putAll(java.util.Map<PropertiesRedactionRuleConfig.Field,java.lang.Object> values)
values - the values to put in the builderpublic PropertiesRedactionRuleConfigBuilder putAll(PropertiesRedactionRuleConfig config)
config - the config to take the values frompublic PropertiesRedactionRuleConfigBuilder setLabel(java.lang.String label)
public PropertiesRedactionRuleConfigBuilder setProperties(java.lang.String... properties)
properties - Property to redactpublic PropertiesRedactionRuleConfigBuilder setRuleTrigger(java.lang.String ruleTrigger)
public java.io.InputStream toInputStream()
InputStream representing the configpublic java.lang.String toString()
toString in class java.lang.Object