public void setEncrypted(Boolean encrypted) {
        this.encrypted = encrypted;
    }
<p>
When true, the replication job produces encrypted AMIs. For more information, <code>KmsKeyId</code>.
</p>

@param encrypted
       When true, the replication job produces encrypted AMIs. For more information, <code>KmsKeyId</code>.
aws-java-sdk-servermigration/src/main/java/com/amazonaws/services/servermigration/model/UpdateReplicationJobRequest.java