Package org.apache.juneau.marshall
Class ExampleAnnotation.Builder
java.lang.Object
org.apache.juneau.commons.AnnotationObject.Builder
org.apache.juneau.marshall.ExampleAnnotation.Builder
- Enclosing class:
- ExampleAnnotation
Builder class.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Instantiates a new@Exampleobject initialized with this builder.description(String... value) Sets the description property on this annotation.Sets thevalue 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@Exampleobject initialized with this builder.- Returns:
- A new
@Exampleobject.
-
description
Sets the description property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
value
Sets thevalue property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-