@NotThreadSafe public static final class Link.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
Link |
build()
Builds a new
Link. |
Link.Builder |
from(LinkIF instance)
Fill a builder with attribute values from the provided
LinkIF instance. |
Link.Builder |
setDomain(String domain)
Initializes the value for the
domain attribute. |
Link.Builder |
setUrl(String url)
Initializes the value for the
url attribute. |
public final Link.Builder from(LinkIF instance)
LinkIF instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final Link.Builder setDomain(String domain)
domain attribute.domain - The value for domainthis builder for use in a chained invocationpublic final Link.Builder setUrl(String url)
url attribute.url - The value for urlthis builder for use in a chained invocationCopyright © 2020. All rights reserved.