public CreateDomainRequest withDefaultEncryptionKey(String defaultEncryptionKey) {
        setDefaultEncryptionKey(defaultEncryptionKey);
        return this;
    }
<p>
The default encryption key, which is an AWS managed key, is used when no specific type of encryption key is
specified. It is used to encrypt all data before it is placed in permanent or semi-permanent storage.
</p>

@param defaultEncryptionKey
       The default encryption key, which is an AWS managed key, is used when no specific type of encryption key
       is specified. It is used to encrypt all data before it is placed in permanent or semi-permanent storage.
@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