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 SummaryConstructors
- 
Method SummaryModifier 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.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.TargetedAnnotationMBuilderonMethods inherited from class org.apache.juneau.annotation.TargetedAnnotationBuilderonMethods inherited from class org.apache.juneau.annotation.AnnotationBuilderasThis, description
- 
Constructor Details- 
Builderprotected Builder()Constructor.
 
- 
- 
Method Details- 
buildInstantiates a new@RestPatchobject initialized with this builder.- Returns:
- A new @RestPatchobject.
 
- 
clientVersionSets theRestPatch.clientVersion()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
consumesSets 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.
 
- 
debugSets theRestPatch.debug()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultAcceptSets theRestPatch.defaultAccept()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultCharsetSets theRestPatch.defaultCharset()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultContentTypeSets theRestPatch.defaultContentType()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultRequestFormDataSets theRestPatch.defaultRequestFormData()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultRequestQueryDataSets theRestPatch.defaultRequestQueryData()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultRequestAttributesSets theRestPatch.defaultRequestAttributes()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultRequestHeadersSets theRestPatch.defaultRequestHeaders()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
defaultResponseHeadersSets theRestPatch.defaultResponseHeaders()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
encodersSets theRestPatch.encoders()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
guardsSets 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.
 
- 
maxInputSets theRestPatch.maxInput()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
parsersSets theRestPatch.parsers()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
pathSets theRestPatch.path()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
producesSets theRestPatch.produces()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
roleGuardSets theRestPatch.roleGuard()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
rolesDeclaredSets 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.
 
- 
summarySets theRestPatch.summary()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
swaggerSets theRestPatch.swagger()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
valueSets theRestPatch.value()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
 
-