Class RestPatchAnnotation.Builder
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationMBuilder<RestPatchAnnotation.Builder>
org.apache.juneau.rest.annotation.RestPatchAnnotation.Builder
- Enclosing class:
- RestPatchAnnotation
public static class RestPatchAnnotation.Builder
extends TargetedAnnotationMBuilder<RestPatchAnnotation.Builder>
Builder class.
See Also:
-
Constructor Summary
Constructors -
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.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.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.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@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
@SafeVarargs public final RestPatchAnnotation.Builder converters(Class<? extends RestConverter>... value) 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.
-
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
@SafeVarargs public final RestPatchAnnotation.Builder matchers(Class<? extends RestMatcher>... value) 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
@SafeVarargs public final RestPatchAnnotation.Builder serializers(Class<? extends Serializer>... value) 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.
-