Package io.helidon.security
Class SecurityLevel.SecurityLevelBuilder
- java.lang.Object
-
- io.helidon.security.SecurityLevel.SecurityLevelBuilder
-
- All Implemented Interfaces:
Builder<SecurityLevel>,Supplier<SecurityLevel>
- Enclosing class:
- SecurityLevel
public static class SecurityLevel.SecurityLevelBuilder extends Object implements Builder<SecurityLevel>
Builder forSecurityLevelclass.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityLevelbuild()Build the instance from this builder.SecurityLevel.SecurityLevelBuilderwithClassAnnotations(Map<Class<? extends Annotation>,List<Annotation>> classAnnotations)Sets new class level annotations.SecurityLevel.SecurityLevelBuilderwithMethodAnnotations(Map<Class<? extends Annotation>,List<Annotation>> methodAnnotations)Sets new method level annotations.SecurityLevel.SecurityLevelBuilderwithMethodName(String methodName)Sets new method name.
-
-
-
Method Detail
-
withMethodName
public SecurityLevel.SecurityLevelBuilder withMethodName(String methodName)
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
public SecurityLevel build()
Description copied from interface:BuilderBuild the instance from this builder.- Specified by:
buildin interfaceBuilder<SecurityLevel>- Returns:
- instance of the built type
-
-