Creates a policy that resets once the given number of operations in a row have succeeded.
How many operations in a row must succeed; must be a positive integer.
Creates a policy that resets once the given number of operations in a row have succeeded.