Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Email.Builder |
address(String address)
Set the email address and domain fields for the request.
|
Email |
build() |
Email.Builder |
domain(String domain) |
public Email.Builder address(String address)
address
- The valid email address used in the transaction.IllegalArgumentException
- when address is not a valid email
address.public Email.Builder domain(String domain)
domain
- The domain of the email address. This only needs
to be set if the email address is not set.IllegalArgumentException
- when domain is not a valid domain.public Email build()
Email
created from the
fields set on this builder.Copyright © 2016 MaxMind, Inc.. All rights reserved.