public LoadBalancerTlsCertificate withNotAfter(java.util.Date notAfter) {
        setNotAfter(notAfter);
        return this;
    }
<p>
The timestamp when the SSL/TLS certificate expires.
</p>

@param notAfter
       The timestamp when the SSL/TLS certificate expires.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/LoadBalancerTlsCertificate.java