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