public DomainSummary withEncryptionKey(String encryptionKey) {
        setEncryptionKey(encryptionKey);
        return this;
    }
<p>
The key used to encrypt the domain.
</p>

@param encryptionKey
       The key used to encrypt the domain.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codeartifact/src/main/java/com/amazonaws/services/codeartifact/model/DomainSummary.java