Class RestDeleteAnnotation.Builder
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationMBuilder<RestDeleteAnnotation.Builder>
org.apache.juneau.rest.annotation.RestDeleteAnnotation.Builder
- Enclosing class:
- RestDeleteAnnotation
public static class RestDeleteAnnotation.Builder
extends TargetedAnnotationMBuilder<RestDeleteAnnotation.Builder>
Builder class.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Instantiates a new@RestDelete
object initialized with this builder.clientVersion
(String value) Sets theRestDelete.clientVersion()
property on this annotation.Sets theRestDelete.debug()
property on this annotation.defaultAccept
(String value) Sets theRestDelete.defaultAccept()
property on this annotation.defaultCharset
(String value) Sets theRestDelete.defaultCharset()
property on this annotation.defaultRequestAttributes
(String... value) Sets theRestDelete.defaultRequestAttributes()
property on this annotation.defaultRequestHeaders
(String... value) Sets theRestDelete.defaultRequestHeaders()
property on this annotation.defaultRequestQueryData
(String... value) Sets theRestDelete.defaultRequestQueryData()
property on this annotation.defaultResponseHeaders
(String... value) Sets theRestDelete.defaultResponseHeaders()
property on this annotation.Sets theRestDelete.encoders()
property on this annotation.Sets theRestDelete.guards()
property on this annotation.matchers
(Class<? extends RestMatcher>... value) Sets theRestDelete.matchers()
property on this annotation.Sets theRestDelete.path()
property on this annotation.Sets theRestDelete.roleGuard()
property on this annotation.rolesDeclared
(String value) Sets theRestDelete.rolesDeclared()
property on this annotation.Sets theRestDelete.summary()
property on this annotation.Sets theRestDelete.swagger()
property on this annotation.Sets theRestDelete.value()
property on this annotation.Methods inherited from class org.apache.juneau.annotation.TargetedAnnotationMBuilder
on
Methods inherited from class org.apache.juneau.annotation.TargetedAnnotationBuilder
on
Methods inherited from class org.apache.juneau.annotation.AnnotationBuilder
asThis, description
-
Constructor Details
-
Builder
protected Builder()Constructor.
-
-
Method Details
-
build
Instantiates a new@RestDelete
object initialized with this builder.- Returns:
- A new
@RestDelete
object.
-
clientVersion
Sets theRestDelete.clientVersion()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
debug
Sets theRestDelete.debug()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
defaultAccept
Sets theRestDelete.defaultAccept()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
defaultCharset
Sets theRestDelete.defaultCharset()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
defaultRequestQueryData
Sets theRestDelete.defaultRequestQueryData()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
defaultRequestAttributes
Sets theRestDelete.defaultRequestAttributes()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
defaultRequestHeaders
Sets theRestDelete.defaultRequestHeaders()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
defaultResponseHeaders
Sets theRestDelete.defaultResponseHeaders()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
encoders
Sets theRestDelete.encoders()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
guards
Sets theRestDelete.guards()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
matchers
@SafeVarargs public final RestDeleteAnnotation.Builder matchers(Class<? extends RestMatcher>... value) Sets theRestDelete.matchers()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
path
Sets theRestDelete.path()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
roleGuard
Sets theRestDelete.roleGuard()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
rolesDeclared
Sets theRestDelete.rolesDeclared()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
summary
Sets theRestDelete.summary()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
swagger
Sets theRestDelete.swagger()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
value
Sets theRestDelete.value()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-