@Operator public final class DestroyResourceOp extends PrimitiveOp
All subsequent operations using the resource will result in a NotFound error status.
Modifier and Type | Class and Description |
---|---|
static class |
DestroyResourceOp.Options
Optional attributes for
DestroyResourceOp |
operation
Modifier and Type | Method and Description |
---|---|
static DestroyResourceOp |
create(Scope scope,
Operand<?> resource,
DestroyResourceOp.Options... options)
Factory method to create a class wrapping a new DestroyResourceOp operation.
|
static DestroyResourceOp.Options |
ignoreLookupError(Boolean ignoreLookupError) |
equals, hashCode, op, toString
public static DestroyResourceOp create(Scope scope, Operand<?> resource, DestroyResourceOp.Options... options)
scope
- current scoperesource
- handle to the resource to delete.options
- carries optional attributes valuespublic static DestroyResourceOp.Options ignoreLookupError(Boolean ignoreLookupError)
ignoreLookupError
- whether to ignore the error when the resource
doesn't exist.Copyright © 2022. All rights reserved.