Class RestPatchAnnotation.Builder
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder
org.apache.juneau.annotation.TargetedAnnotationBuilder
org.apache.juneau.annotation.TargetedAnnotationMBuilder
org.apache.juneau.rest.annotation.RestPatchAnnotation.Builder
- Enclosing class:
RestPatchAnnotation
Builder class.
See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Instantiates a new@RestPatch
object initialized with this builder.clientVersion
(String value) Sets theRestPatch.clientVersion()
property on this annotation.Sets theRestPatch.consumes()
property on this annotation.converters
(Class<? extends RestConverter>... value) Sets theRestPatch.converters()
property on this annotation.Sets theRestPatch.debug()
property on this annotation.defaultAccept
(String value) Sets theRestPatch.defaultAccept()
property on this annotation.defaultCharset
(String value) Sets theRestPatch.defaultCharset()
property on this annotation.defaultContentType
(String value) Sets theRestPatch.defaultContentType()
property on this annotation.defaultRequestAttributes
(String... value) Sets theRestPatch.defaultRequestAttributes()
property on this annotation.defaultRequestFormData
(String... value) Sets theRestPatch.defaultRequestFormData()
property on this annotation.defaultRequestHeaders
(String... value) Sets theRestPatch.defaultRequestHeaders()
property on this annotation.defaultRequestQueryData
(String... value) Sets theRestPatch.defaultRequestQueryData()
property on this annotation.defaultResponseHeaders
(String... value) Sets theRestPatch.defaultResponseHeaders()
property on this annotation.description
(String... value) Sets theRestPatch.description()
property on this annotation.Sets theRestPatch.encoders()
property on this annotation.Sets theRestPatch.guards()
property on this annotation.matchers
(Class<? extends RestMatcher>... value) Sets theRestPatch.matchers()
property on this annotation.Sets theRestPatch.maxInput()
property on this annotation.Appends the methods that this annotation applies to.The targets this annotation applies to.Sets theRestPatch.parsers()
property on this annotation.Sets theRestPatch.path()
property on this annotation.Sets theRestPatch.produces()
property on this annotation.Sets theRestPatch.roleGuard()
property on this annotation.rolesDeclared
(String value) Sets theRestPatch.rolesDeclared()
property on this annotation.serializers
(Class<? extends Serializer>... value) Sets theRestPatch.serializers()
property on this annotation.Sets theRestPatch.summary()
property on this annotation.Sets theRestPatch.swagger()
property on this annotation.Sets theRestPatch.value()
property on this annotation.
-
Constructor Details
-
Builder
protected Builder()Constructor.
-
-
Method Details
-
build
Instantiates a new@RestPatch
object initialized with this builder.- Returns:
- A new
@RestPatch
object.
-
clientVersion
Sets theRestPatch.clientVersion()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
consumes
Sets theRestPatch.consumes()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
converters
Sets theRestPatch.converters()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
debug
Sets theRestPatch.debug()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
defaultAccept
Sets theRestPatch.defaultAccept()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
defaultCharset
Sets theRestPatch.defaultCharset()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
defaultContentType
Sets theRestPatch.defaultContentType()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
defaultRequestFormData
Sets theRestPatch.defaultRequestFormData()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
defaultRequestQueryData
Sets theRestPatch.defaultRequestQueryData()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
defaultRequestAttributes
Sets theRestPatch.defaultRequestAttributes()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
defaultRequestHeaders
Sets theRestPatch.defaultRequestHeaders()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
defaultResponseHeaders
Sets theRestPatch.defaultResponseHeaders()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
description
Sets theRestPatch.description()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
encoders
Sets theRestPatch.encoders()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
guards
Sets theRestPatch.guards()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
matchers
Sets theRestPatch.matchers()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
maxInput
Sets theRestPatch.maxInput()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
parsers
Sets theRestPatch.parsers()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
path
Sets theRestPatch.path()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
produces
Sets theRestPatch.produces()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
roleGuard
Sets theRestPatch.roleGuard()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
rolesDeclared
Sets theRestPatch.rolesDeclared()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
serializers
Sets theRestPatch.serializers()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
summary
Sets theRestPatch.summary()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
swagger
Sets theRestPatch.swagger()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
value
Sets theRestPatch.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.
-