| Modifier and Type | Method and Description |
|---|---|
Source |
build()
Builds a new
Source. |
Source.Builder |
from(Source instance)
Fill a builder with attribute values from the provided
Source instance. |
Source.Builder |
id(String id)
Initializes the value for the
id attribute. |
public final Source.Builder from(Source instance)
Source 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 Source.Builder id(String id)
id attribute.id - The value for idthis builder for use in a chained invocationpublic Source build()
Source.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.