Class ContactPoint.Builder
java.lang.Object
net.ygbstudio.jbrave.core.domain.dto.result.thing.Thing.Builder
net.ygbstudio.jbrave.core.domain.dto.result.thing.ContactPoint.Builder
- Enclosing class:
ContactPoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull ContactPointbuild()Sets the email address for the contact point.Sets the telephone number for the contact point.Methods inherited from class net.ygbstudio.jbrave.core.domain.dto.result.thing.Thing.Builder
name, thumbnail, type, url
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
telephone
Sets the telephone number for the contact point.- Parameters:
telephone- The telephone number.- Returns:
- The builder instance.
-
email
Sets the email address for the contact point.- Parameters:
email- The email address.- Returns:
- The builder instance.
-
build
- Overrides:
buildin classThing.Builder
-