public void setEncrypted(Boolean encrypted) {
        this.encrypted = encrypted;
    }
<p>
Use to configure device encryption.
</p>

@param encrypted
       Use to configure device encryption.
aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/EbsInstanceBlockDeviceSpecification.java