Class AllowListConfig.Builder
java.lang.Object
io.helidon.common.configurable.AllowListConfig.BuilderBase<AllowListConfig.Builder, AllowListConfig>
io.helidon.common.configurable.AllowListConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<AllowListConfig.Builder, AllowListConfig>, Builder<AllowListConfig.Builder, AllowList>, ConfigBuilderSupport.ConfiguredBuilder<AllowListConfig.Builder, AllowListConfig>, Supplier<AllowList>
- Enclosing interface:
AllowListConfig
public static class AllowListConfig.Builder
extends AllowListConfig.BuilderBase<AllowListConfig.Builder, AllowListConfig>
implements Builder<AllowListConfig.Builder, AllowList>
Fluent API builder for
AllowList.-
Nested Class Summary
Nested classes/interfaces inherited from class AllowListConfig.BuilderBase
AllowListConfig.BuilderBase.AllowListConfigImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Create an instance from this builder.Create an instance of the prototype.Methods inherited from class AllowListConfig.BuilderBase
addAllowed, addAllowed, addAllowed, addAllowedPattern, addAllowedPatterns, addAllowedPredicates, addAllowedPrefix, addAllowedPrefixes, addAllowedSuffix, addAllowedSuffixes, addDenied, addDenied, addDenied, addDeniedPattern, addDeniedPatterns, addDeniedPredicates, addDeniedPrefix, addDeniedPrefixes, addDeniedSuffix, addDeniedSuffixes, allowAll, allowAll, allowed, allowed, allowedPatterns, allowedPatterns, allowedPredicates, allowedPredicates, allowedPrefixes, allowedPrefixes, allowedSuffixes, allowedSuffixes, clearAllowed, clearAllowedPatterns, clearAllowedPredicates, clearAllowedPrefixes, clearAllowedSuffixes, clearDenied, clearDeniedPatterns, clearDeniedPredicates, clearDeniedPrefixes, clearDeniedSuffixes, config, config, denied, denied, deniedPatterns, deniedPatterns, deniedPredicates, deniedPredicates, deniedPrefixes, deniedPrefixes, deniedSuffixes, deniedSuffixes, from, from, preBuildPrototype, toString, validatePrototypeModifier and TypeMethodDescriptionaddAllowed(String allowed) Exact strings to allow.addAllowed(Predicate<String> allowed) Allowed predicates.addAllowed(List<String> allowed) Exact strings to allow.addAllowedPattern(Pattern allowedPattern) Patterns specifying strings to allow.addAllowedPatterns(List<? extends Pattern> allowedPatterns) Patterns specifying strings to allow.addAllowedPredicates(List<Predicate<String>> allowedPredicates) Allowed predicates.addAllowedPrefix(String allowedPrefix) Prefixes specifying strings to allow.addAllowedPrefixes(List<String> allowedPrefixes) Prefixes specifying strings to allow.addAllowedSuffix(String allowedSuffix) Suffixes specifying strings to allow.addAllowedSuffixes(List<String> allowedSuffixes) Suffixes specifying strings to allow.Exact strings to deny.Deny predicates.Exact strings to deny.addDeniedPattern(Pattern deniedPattern) Patterns specifying strings to deny.addDeniedPatterns(List<? extends Pattern> deniedPatterns) Patterns specifying strings to deny.addDeniedPredicates(List<Predicate<String>> deniedPredicates) Deny predicates.addDeniedPrefix(String deniedPrefix) Prefixes specifying strings to deny.addDeniedPrefixes(List<String> deniedPrefixes) Prefixes specifying strings to deny.addDeniedSuffix(String deniedSuffix) Suffixes specifying strings to deny.addDeniedSuffixes(List<String> deniedSuffixes) Suffixes specifying strings to deny.booleanallowAll()Allows all strings to match (subject to "deny" conditions).allowAll(boolean allowAll) Allows all strings to match (subject to "deny" conditions).allowed()Exact strings to allow.Exact strings to allow.Patterns specifying strings to allow.allowedPatterns(List<? extends Pattern> allowedPatterns) Patterns specifying strings to allow.Allowed predicates.allowedPredicates(List<Predicate<String>> allowedPredicates) Allowed predicates.Prefixes specifying strings to allow.allowedPrefixes(List<String> allowedPrefixes) Prefixes specifying strings to allow.Suffixes specifying strings to allow.allowedSuffixes(List<String> allowedSuffixes) Suffixes specifying strings to allow.Clear all allowed.Clear all allowedPatterns.Clear all allowedPredicates.Clear all allowedPrefixes.Clear all allowedSuffixes.Clear all denied.Clear all deniedPatterns.Clear all deniedPredicates.Clear all deniedPrefixes.Clear all deniedSuffixes.config()Configuration used to configure this instance.Update builder from configuration (node of this type).denied()Exact strings to deny.Exact strings to deny.Patterns specifying strings to deny.deniedPatterns(List<? extends Pattern> deniedPatterns) Patterns specifying strings to deny.Deny predicates.deniedPredicates(List<Predicate<String>> deniedPredicates) Deny predicates.Prefixes specifying strings to deny.deniedPrefixes(List<String> deniedPrefixes) Prefixes specifying strings to deny.Suffixes specifying strings to deny.deniedSuffixes(List<String> deniedSuffixes) Suffixes specifying strings to deny.from(AllowListConfig prototype) Update this builder from an existing prototype instance.from(AllowListConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.protected voidHandles providers and decorators.toString()protected voidValidates required properties.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault AllowListget()default AllowListConfig.Builderidentity()Instance of this builder as the correct type.default AllowListConfig.Builderupdate(Consumer<AllowListConfig.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault AllowListConfig.Builderself()Instance of this builder as the correct type.
-
Method Details
-
buildPrototype
Create an instance of the prototype. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildPrototypein interfacePrototype.Builder<AllowListConfig.Builder, AllowListConfig>- Returns:
- an instance of the setup object created from this builder
-
build
Create an instance from this builder. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildin interfaceBuilder<AllowListConfig.Builder, AllowList>- Returns:
- instance of the built type
-