Package org.apache.juneau.rest.server
Class RestPutAnnotation.Builder
java.lang.Object
org.apache.juneau.commons.AnnotationObject.Builder
org.apache.juneau.rest.server.RestPutAnnotation.Builder
- Enclosing class:
- RestPutAnnotation
Builder class.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedParserOptions(String... value) Sets theRestPut.allowedParserOptions()property on this annotation.allowedSerializerOptions(String... value) Sets theRestPut.allowedSerializerOptions()property on this annotation.asyncCompletionExecutor(String value) Sets theRestPut.asyncCompletionExecutor()property on this annotation.build()Instantiates a new@RestPutobject initialized with this builder.clientVersion(String value) Sets theRestPut.clientVersion()property on this annotation.Sets theRestPut.consumes()property on this annotation.converters(Class<? extends RestConverter>... value) Sets theRestPut.converters()property on this annotation.debugMarshalling(String value) Sets theRestPut.debugMarshalling()property on this annotation.defaultAccept(String value) Sets theRestPut.defaultAccept()property on this annotation.defaultCharset(String value) Sets theRestPut.defaultCharset()property on this annotation.defaultContentType(String value) Sets theRestPut.defaultContentType()property on this annotation.defaultRequestAttributes(String... value) Sets theRestPut.defaultRequestAttributes()property on this annotation.defaultRequestFormData(String... value) Sets theRestPut.defaultRequestFormData()property on this annotation.defaultRequestHeaders(String... value) Sets theRestPut.defaultRequestHeaders()property on this annotation.defaultRequestQueryData(String... value) Sets theRestPut.defaultRequestQueryData()property on this annotation.defaultResponseHeaders(String... value) Sets theRestPut.defaultResponseHeaders()property on this annotation.description(String... value) Sets the description property on this annotation.Sets theRestPut.encoders()property on this annotation.Sets theRestPut.guards()property on this annotation.matchers(Class<? extends RestMatcher>... value) Sets theRestPut.matchers()property on this annotation.Sets theRestPut.maxInput()property on this annotation.metricName(String value) Sets theRestPut.metricName()property on this annotation.metricTags(String value) Sets theRestPut.metricTags()property on this annotation.Sets theRestPut.noInherit()property on this annotation.observability(String value) Sets theRestPut.observability()property on this annotation.Sets theRestPut.parsers()property on this annotation.Sets theRestPut.path()property on this annotation.problemDetails(String value) Sets theRestPut.problemDetails()property on this annotation.Sets theRestPut.produces()property on this annotation.Sets theRestPut.roleGuard()property on this annotation.rolesDeclared(String value) Sets theRestPut.rolesDeclared()property on this annotation.serializers(Class<? extends Serializer>... value) Sets theRestPut.serializers()property on this annotation.Sets theRestPut.summary()property on this annotation.Sets theRestPut.swagger()property on this annotation.Sets theRestPut.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@RestPutobject initialized with this builder.- Returns:
- A new
@RestPutobject.
-
description
Sets the description property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
clientVersion
Sets theRestPut.clientVersion()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
consumes
Sets theRestPut.consumes()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
converters
@SafeVarargs public final RestPutAnnotation.Builder converters(Class<? extends RestConverter>... value) Sets theRestPut.converters()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
defaultAccept
Sets theRestPut.defaultAccept()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
defaultCharset
Sets theRestPut.defaultCharset()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
defaultContentType
Sets theRestPut.defaultContentType()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
defaultRequestAttributes
Sets theRestPut.defaultRequestAttributes()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
defaultRequestFormData
Sets theRestPut.defaultRequestFormData()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
defaultRequestHeaders
Sets theRestPut.defaultRequestHeaders()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
defaultRequestQueryData
Sets theRestPut.defaultRequestQueryData()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
defaultResponseHeaders
Sets theRestPut.defaultResponseHeaders()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
encoders
Sets theRestPut.encoders()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
guards
Sets theRestPut.guards()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
matchers
Sets theRestPut.matchers()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
maxInput
Sets theRestPut.maxInput()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
parsers
Sets theRestPut.parsers()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
path
Sets theRestPut.path()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
problemDetails
Sets theRestPut.problemDetails()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
debugMarshalling
Sets theRestPut.debugMarshalling()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
observability
Sets theRestPut.observability()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
asyncCompletionExecutor
Sets theRestPut.asyncCompletionExecutor()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
metricName
Sets theRestPut.metricName()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
metricTags
Sets theRestPut.metricTags()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
produces
Sets theRestPut.produces()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
allowedSerializerOptions
Sets theRestPut.allowedSerializerOptions()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
allowedParserOptions
Sets theRestPut.allowedParserOptions()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
noInherit
Sets theRestPut.noInherit()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
roleGuard
Sets theRestPut.roleGuard()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
rolesDeclared
Sets theRestPut.rolesDeclared()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
serializers
@SafeVarargs public final RestPutAnnotation.Builder serializers(Class<? extends Serializer>... value) Sets theRestPut.serializers()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
summary
Sets theRestPut.summary()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
swagger
Sets theRestPut.swagger()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
value
Sets theRestPut.value()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-