DisableCopyOnRead

public final class DisableCopyOnRead

Turns off the copy-on-read mode.

Turns off the copy-on-read mode of a resource variable. If the variable is not in copy-on-read mode, this op has no effect.

Public Methods

static DisableCopyOnRead
create(Scope scope, Operand<?> resource)
Factory method to create a class wrapping a new DisableCopyOnRead operation.

Inherited Methods

Public Methods

public static DisableCopyOnRead create (Scope scope, Operand<?> resource)

Factory method to create a class wrapping a new DisableCopyOnRead operation.

Parameters
scope current scope
resource The resource handle of the resource variable.
Returns
  • a new instance of DisableCopyOnRead