Deletes the current object.
Deletes the current object.
import scala.concurrent.ExecutionContext import com.zengularity.benji.ObjectRef def foo(myObject: ObjectRef)(implicit ec: ExecutionContext) = myObject.delete()
Updates the request, so that it will not raise an error if the referenced object doesn't exist when executed.
Updates the request, so that it will not raise an error if the referenced object doesn't exist when executed.
import scala.concurrent.ExecutionContext import com.zengularity.benji.ObjectRef def foo(myObject: ObjectRef)(implicit ec: ExecutionContext) = myObject.delete.ignoreIfNotExists()
A request to delete the bucket.