public static class SecurityLevel.SecurityLevelBuilder extends Object implements Builder<SecurityLevel>
SecurityLevel class.| Modifier and Type | Method and 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.
|
public SecurityLevel.SecurityLevelBuilder withMethodName(String methodName)
methodName - new method namepublic SecurityLevel.SecurityLevelBuilder withClassAnnotations(Map<Class<? extends Annotation>,List<Annotation>> classAnnotations)
classAnnotations - new class level annotationspublic SecurityLevel.SecurityLevelBuilder withMethodAnnotations(Map<Class<? extends Annotation>,List<Annotation>> methodAnnotations)
methodAnnotations - new method level annotationspublic SecurityLevel build()
Builderbuild in interface Builder<SecurityLevel>Copyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.