public CreateCustomDomainAssociationResult withCustomDomainCertificateExpiryTime(java.util.Date customDomainCertificateExpiryTime) {
        setCustomDomainCertificateExpiryTime(customDomainCertificateExpiryTime);
        return this;
    }
<p>
The expiration time for the certificate.
</p>

@param customDomainCertificateExpiryTime
       The expiration time for the certificate.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshiftserverless/src/main/java/com/amazonaws/services/redshiftserverless/model/CreateCustomDomainAssociationResult.java