of

Parses a setting from its URL spelling, accepting the enum name as well.

A stated setting that matches nothing is refused.

Return

The matching setting, or ANY when value is null.

Parameters

value

any, read-write, read-only, primary, standby or prefer-standby, or the equivalent enum name; case-insensitive. null means the setting was not stated at all.

Throws

INVALID_ARGUMENT if value is stated but unrecognized.