Class RestPatchAnnotation.Builder
java.lang.Object
org.apache.juneau.commons.annotation.AnnotationObject.Builder
org.apache.juneau.commons.annotation.AppliedAnnotationObject.Builder
org.apache.juneau.commons.annotation.AppliedAnnotationObject.BuilderM
org.apache.juneau.rest.annotation.RestPatchAnnotation.Builder
- Enclosing class:
- RestPatchAnnotation
Builder class.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Instantiates a new@RestPatchobject 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 the 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.on(MethodInfo... value) Appends the methods that 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.Methods inherited from class org.apache.juneau.commons.annotation.AnnotationObject.Builder
getAnnotationType
-
Constructor Details
-
Builder
protected Builder()Constructor.
-
-
Method Details
-
build
Instantiates a new@RestPatchobject initialized with this builder.- Returns:
- A new
@RestPatchobject.
-
description
Sets the description property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This 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.
-
defaultRequestAttributes
Sets theRestPatch.defaultRequestAttributes()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.
-
defaultRequestHeaders
Sets theRestPatch.defaultRequestHeaders()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.
-
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.
-
on
Description copied from class:AppliedAnnotationObject.BuilderThe targets this annotation applies to.- Overrides:
onin classAppliedAnnotationObject.Builder- Parameters:
value- The targets this annotation applies to.- Returns:
- This object.
-
on
Description copied from class:AppliedAnnotationObject.BuilderMAppends the methods that this annotation applies to.- Overrides:
onin classAppliedAnnotationObject.BuilderM- Parameters:
value- The values to append.- Returns:
- This object.
-
on
Description copied from class:AppliedAnnotationObject.BuilderMAppends the methods that this annotation applies to.- Overrides:
onin classAppliedAnnotationObject.BuilderM- Parameters:
value- The values to append.- Returns:
- This object.
-