Class ContactAnnotation.Builder
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder
org.apache.juneau.http.annotation.ContactAnnotation.Builder
- Enclosing class:
ContactAnnotation
Builder class.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Instantiates a new@Contactobject initialized with this builder.Sets theContact.email()property on this annotation.Sets theContact.name()property on this annotation.Sets theContact.url()property on this annotation.
-
Constructor Details
-
Builder
protected Builder()Constructor.
-
-
Method Details
-
build
Instantiates a new@Contactobject initialized with this builder.- Returns:
- A new
@Contactobject.
-
email
Sets theContact.email()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
name
Sets theContact.name()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
url
Sets theContact.url()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-