- Companion:
- object
Type members
Inherited classlikes
trait DeleteRequest
A request to delete the bucket.
A request to delete the bucket.
- Inherited from:
- ObjectRef
A PUT request: allows you to update the contents of this object.
A PUT request: allows you to update the contents of this object.
- Type parameters:
- A
the consumer output type
- E
the consumer input type
- Inherited from:
- ObjectRef
Value members
Inherited methods
Copies the referenced object to another one.
Copies the referenced object to another one.
- Value parameters:
- target
the reference to the target object
import scala.concurrent.ExecutionContext import com.zengularity.benji.ObjectRef def foo( myObject: ObjectRef, otherRef: ObjectRef)(implicit ec: ExecutionContext) = myObject.copyTo(otherRef)
- Inherited from:
- ObjectRef
Moves the referenced object to another one. If fails, the current object is still available.
Moves the referenced object to another one. If fails, the current object is still available.
- Value parameters:
- preventOverwrite
if true, prevents overwriting an existing target object (default: true)
import scala.concurrent.ExecutionContext import com.zengularity.benji.ObjectRef def foo( myObject: ObjectRef, otherRef: ObjectRef)( implicit ec: ExecutionContext) = myObject.moveTo(otherRef)
- target
the reference to the target object
- Inherited from:
- ObjectRef
- Type parameters:
- E
the consumer input type
- Value parameters:
- size
the total size in bytes to be PUTed
- Inherited from:
- ObjectRef