| Modifier and Type | Method and Description |
|---|---|
Email |
build()
Builds a new
Email. |
Email.Builder |
from(Email instance)
Fill a builder with attribute values from the provided
Email instance. |
Email.Builder |
primary(Boolean primary)
Initializes the value for the
primary attribute. |
Email.Builder |
value(String value)
Initializes the value for the
value attribute. |
public final Email.Builder from(Email instance)
Email 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 Email.Builder primary(Boolean primary)
primary attribute.primary - The value for primarythis builder for use in a chained invocationpublic final Email.Builder value(String value)
value attribute.value - The value for valuethis builder for use in a chained invocationpublic Email build()
Email.IllegalStateException - if any required attributes are missingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.