public CreateDomainRequest withDefaultExpirationDays(Integer defaultExpirationDays) {
        setDefaultExpirationDays(defaultExpirationDays);
        return this;
    }
<p>
The default number of days until the data within the domain expires.
</p>

@param defaultExpirationDays
       The default number of days until the data within the domain expires.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-customerprofiles/src/main/java/com/amazonaws/services/customerprofiles/model/CreateDomainRequest.java