java.lang.Object
io.helidon.security.SecurityLevel.SecurityLevelBuilder
- All Implemented Interfaces:
Builder<SecurityLevel.SecurityLevelBuilder,
,SecurityLevel> Supplier<SecurityLevel>
- Enclosing class:
SecurityLevel
public static class SecurityLevel.SecurityLevelBuilder
extends Object
implements Builder<SecurityLevel.SecurityLevelBuilder,SecurityLevel>
Builder for
SecurityLevel
class.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the instance from this builder.withClassAnnotations
(Map<Class<? extends Annotation>, List<Annotation>> classAnnotations) Sets new class level annotations.withMethodAnnotations
(Map<Class<? extends Annotation>, List<Annotation>> methodAnnotations) Sets new method level annotations.withMethodName
(String methodName) Sets new method name.
-
Method Details
-
withMethodName
Sets new method name.- Parameters:
methodName
- new method name- Returns:
- updated builder instance
-
withClassAnnotations
public SecurityLevel.SecurityLevelBuilder withClassAnnotations(Map<Class<? extends Annotation>, List<Annotation>> classAnnotations) Sets new class level annotations.- Parameters:
classAnnotations
- new class level annotations- Returns:
- updated builder instance
-
withMethodAnnotations
public SecurityLevel.SecurityLevelBuilder withMethodAnnotations(Map<Class<? extends Annotation>, List<Annotation>> methodAnnotations) Sets new method level annotations.- Parameters:
methodAnnotations
- new method level annotations- Returns:
- updated builder instance
-
build
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<SecurityLevel.SecurityLevelBuilder,
SecurityLevel> - Returns:
- instance of the built type
-