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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Instantiates a new@Contact
object 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@Contact
object initialized with this builder.- Returns:
- A new
@Contact
object.
-
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.
-