public UpdateUserPoolDomainResult withCloudFrontDomain(String cloudFrontDomain) {
        setCloudFrontDomain(cloudFrontDomain);
        return this;
    }
<p>
The Amazon CloudFront endpoint that Amazon Cognito set up when you added the custom domain to your user pool.
</p>

@param cloudFrontDomain
       The Amazon CloudFront endpoint that Amazon Cognito set up when you added the custom domain to your user
       pool.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/UpdateUserPoolDomainResult.java