public ReceiptRule withTlsPolicy(TlsPolicy tlsPolicy) {
        this.tlsPolicy = tlsPolicy.toString();
        return this;
    }
<p>
Specifies whether Amazon SES should require that incoming email is delivered over a connection encrypted with
Transport Layer Security (TLS). If this parameter is set to <code>Require</code>, Amazon SES bounces emails that
are not received over TLS. The default is <code>Optional</code>.
</p>

@param tlsPolicy
       Specifies whether Amazon SES should require that incoming email is delivered over a connection encrypted
       with Transport Layer Security (TLS). If this parameter is set to <code>Require</code>, Amazon SES bounces
       emails that are not received over TLS. The default is <code>Optional</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see TlsPolicy
aws-java-sdk-ses/src/main/java/com/amazonaws/services/simpleemail/model/ReceiptRule.java