Class RestDeleteAnnotation.Builder
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder
org.apache.juneau.annotation.TargetedAnnotationBuilder
org.apache.juneau.annotation.TargetedAnnotationMBuilder
org.apache.juneau.rest.annotation.RestDeleteAnnotation.Builder
- Enclosing class:
RestDeleteAnnotation
Builder class.
See Also:
-
Constructor Summary
-
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.description
(String... value) Sets theRestDelete.description()
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.Appends the methods that this annotation applies to.The targets this annotation applies to.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.
-
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.
-
description
Sets theRestDelete.description()
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
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.
-
on
Description copied from class:TargetedAnnotationBuilder
The targets this annotation applies to.- Overrides:
on
in classTargetedAnnotationMBuilder
- Parameters:
values
- The targets this annotation applies to.- Returns:
- This object.
-
on
Description copied from class:TargetedAnnotationMBuilder
Appends the methods that this annotation applies to.- Overrides:
on
in classTargetedAnnotationMBuilder
- Parameters:
value
- The values to append.- Returns:
- This object.
-