Package org.apache.juneau.rest.server
Class RestPatchAnnotation.Builder
java.lang.Object
org.apache.juneau.commons.AnnotationObject.Builder
org.apache.juneau.rest.server.RestPatchAnnotation.Builder
- Enclosing class:
- RestPatchAnnotation
Builder class.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedParserOptions(String... value) Sets theRestPatch.allowedParserOptions()property on this annotation.allowedSerializerOptions(String... value) Sets theRestPatch.allowedSerializerOptions()property on this annotation.asyncCompletionExecutor(String value) Sets theRestPatch.asyncCompletionExecutor()property on this annotation.build()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.debugMarshalling(String value) Sets theRestPatch.debugMarshalling()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.metricName(String value) Sets theRestPatch.metricName()property on this annotation.metricTags(String value) Sets theRestPatch.metricTags()property on this annotation.Sets theRestPatch.noInherit()property on this annotation.observability(String value) Sets theRestPatch.observability()property on this annotation.Sets theRestPatch.parsers()property on this annotation.Sets theRestPatch.path()property on this annotation.problemDetails(String value) Sets theRestPatch.problemDetails()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.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.
-
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.
-
problemDetails
Sets theRestPatch.problemDetails()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
debugMarshalling
Sets theRestPatch.debugMarshalling()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
observability
Sets theRestPatch.observability()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
asyncCompletionExecutor
Sets theRestPatch.asyncCompletionExecutor()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
metricName
Sets theRestPatch.metricName()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
metricTags
Sets theRestPatch.metricTags()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.
-
allowedSerializerOptions
Sets theRestPatch.allowedSerializerOptions()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
allowedParserOptions
Sets theRestPatch.allowedParserOptions()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
noInherit
Sets theRestPatch.noInherit()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.
-