public void setNotAfterDate(java.util.Date notAfterDate) {
        this.notAfterDate = notAfterDate;
    }
<p>
The final date that the certificate is valid.
</p>

@param notAfterDate
       The final date that the certificate is valid.
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/DescribedCertificate.java