public void setEncrypted(Boolean encrypted) {
        this.encrypted = encrypted;
    }
<p>
Indicates whether the AMI is encrypted.
</p>

@param encrypted
       Indicates whether the AMI is encrypted.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ImportImageResult.java