public Certificate withNotValidAfter(java.util.Date notValidAfter) {
        setNotValidAfter(notValidAfter);
        return this;
    }
<p>
The certificate is not valid after this date.
</p>

@param notValidAfter
       The certificate is not valid after this date.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workspacesweb/src/main/java/com/amazonaws/services/workspacesweb/model/Certificate.java