- 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 forSecurityLevel
class.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityLevel
build()
Build the instance from this builder.SecurityLevel.SecurityLevelBuilder
withClassAnnotations(Map<Class<? extends Annotation>,List<Annotation>> classAnnotations)
Sets new class level annotations.SecurityLevel.SecurityLevelBuilder
withMethodAnnotations(Map<Class<? extends Annotation>,List<Annotation>> methodAnnotations)
Sets new method level annotations.SecurityLevel.SecurityLevelBuilder
withMethodName(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:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<SecurityLevel>
- Returns:
- instance of the built type
-
-