Enum QuorumPolicy

The quorum policy determine the number of nodes that must participate to
pick the winner of an election, and therefore the master of the group.
The default quorum policy during the lifetime of the group is
QuorumPolicy.SIMPLE_MAJORITY. The only time that the application needs to
specify a specific quorum policy is at node startup time, by passing one
to the ReplicatedEnvironment constructor.

valueOf

Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)