Op@Operator public final class DestroyResourceOp extends PrimitiveOp
All subsequent operations using the resource will result in a NotFound error status.
| Modifier and Type | Class | Description |
|---|---|---|
static class |
DestroyResourceOp.Options |
Optional attributes for
DestroyResourceOp |
operation| Modifier and Type | Method | Description |
|---|---|---|
static DestroyResourceOp |
create(Scope scope,
Operand<?> resource,
DestroyResourceOp.Options... options) |
Factory method to create a class to wrap a new DestroyResourceOp operation to the graph.
|
static DestroyResourceOp.Options |
ignoreLookupError(java.lang.Boolean ignoreLookupError) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitequals, hashCode, toStringpublic static DestroyResourceOp create(Scope scope, Operand<?> resource, DestroyResourceOp.Options... options)
scope - current graph scoperesource - handle to the resource to delete.options - carries optional attributes valuespublic static DestroyResourceOp.Options ignoreLookupError(java.lang.Boolean ignoreLookupError)
ignoreLookupError - whether to ignore the error when the resource
doesn't exist.