public class ContactObjectBuilder extends Object
Constructor and Description |
---|
ContactObjectBuilder() |
Modifier and Type | Method and Description |
---|---|
ContactObject |
build() |
static ContactObjectBuilder |
contactObject()
Creates a builder for a
ContactObject |
ContactObjectBuilder |
withEmail(String email) |
ContactObjectBuilder |
withName(String name) |
ContactObjectBuilder |
withUrl(URI url) |
public ContactObjectBuilder withName(String name)
name
- The identifying name of the contact person/organization.public ContactObjectBuilder withUrl(URI url)
url
- The URL pointing to the contact information.public ContactObjectBuilder withEmail(String email)
email
- The email address of the contact person/organization. MUST be in the format of an email address.public ContactObject build()
public static ContactObjectBuilder contactObject()
ContactObject
Copyright © 2017–2019. All rights reserved.