-
public final class CreateDomainOptionsOptions for creating a domain to use with MailSlurp. You must have ownership access to this domain in order to verify it. Domains will not function correctly until the domain has been verified. See https://www.mailslurp.com/guides/custom-domains for help. Domains can be either
HTTPorSMTPtype. The type of domain determines which inboxes can be used with it.SMTPinboxes use a mail server runningmx.mailslurp.comwhileHTTPinboxes are handled by AWS SES.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumCreateDomainOptions.DomainTypeDomain type to create. HTTP or SMTP domain. HTTP domain uses MailSlurps SES MX records. SMTP uses a custom SMTP server MX record. SMTP domains can only be used with SMTP inboxes. SMTP inboxes are more reliable for public inbound emails while HTTP inboxes are more suitable for testing. Values: hTTPINBOX,sMTPDOMAIN
-
Field Summary
Fields Modifier and Type Field Description private final BooleancreatedCatchAllInboxprivate final Stringdescriptionprivate final Stringdomainprivate final CreateDomainOptions.DomainTypedomainType
-
Constructor Summary
Constructors Constructor Description CreateDomainOptions(Boolean createdCatchAllInbox, String description, String domain, CreateDomainOptions.DomainType domainType)
-
Method Summary
Modifier and Type Method Description final BooleangetCreatedCatchAllInbox()final StringgetDescription()final StringgetDomain()final CreateDomainOptions.DomainTypegetDomainType()-
-
Constructor Detail
-
CreateDomainOptions
CreateDomainOptions(Boolean createdCatchAllInbox, String description, String domain, CreateDomainOptions.DomainType domainType)
- Parameters:
createdCatchAllInbox- Whether to create a catch all inbox for the domain.description- Optional description of the domain.domain- The top level domain you wish to use with MailSlurp.domainType- Domain type to create.
-
-
Method Detail
-
getCreatedCatchAllInbox
final Boolean getCreatedCatchAllInbox()
-
getDescription
final String getDescription()
-
getDomainType
final CreateDomainOptions.DomainType getDomainType()
-
-
-
-