All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mailgun.model.domains.DomainConnectionRequest Maven / Gradle / Ivy

Go to download

The Mailgun SDK for Java enables Java developers to work with Mailgun API efficiently.

The newest version!
package com.mailgun.model.domains;

import feign.form.FormProperty;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.ToString;

/**
 * 

* Domain connection request. *

* * @see Domains */ @Getter @ToString @EqualsAndHashCode @Builder public class DomainConnectionRequest { /** *

* true or false *

* *

* If set to true, this requires the message only be sent over a TLS connection. * If a TLS connection can not be established, Mailgun will not deliver the message. *

* *

* If set to false, Mailgun will still try and upgrade the connection, * but if Mailgun cannot, the message will be delivered over a plaintext SMTP connection. *

* *

* The default is false. *

*/ @FormProperty("require_tls") Boolean requireTls; /** *

* true or false *

* *

* If set to true, the certificate and hostname will not be verified when trying to establish a TLS connection * and Mailgun will accept any certificate during delivery. *

* *

* If set to false, Mailgun will verify the certificate and hostname. * If either one can not be verified, a TLS connection will not be established. *

* *

* The default is false. *

*/ @FormProperty("skip_verification") Boolean skipVerification; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy