public static class EmailAddress.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EmailAddress |
build() |
EmailAddress.Builder |
copy(EmailAddress model) |
EmailAddress.Builder |
email(String email)
ASCII only email address.
|
EmailAddress.Builder |
name(String name)
Display name for the email address.
|
public EmailAddress.Builder email(String email)
ASCII only email address.
email
- the value to setpublic EmailAddress.Builder name(String name)
Display name for the email address. UTF-8 is supported for display name RFC 2047.
name
- the value to setpublic EmailAddress build()
public EmailAddress.Builder copy(EmailAddress model)
Copyright © 2016–2024. All rights reserved.