public EbsInstanceBlockDeviceSpecification withDeleteOnTermination(Boolean deleteOnTermination) {
        setDeleteOnTermination(deleteOnTermination);
        return this;
    }
<p>
Use to configure delete on termination of the associated device.
</p>

@param deleteOnTermination
       Use to configure delete on termination of the associated device.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/EbsInstanceBlockDeviceSpecification.java