public void setAction(String value) {
      if (!ALLOWED_ACTIONS.contains(value)) {
        throw new IllegalArgumentException("invalid expiration action: " + value);
      }
      action = value;
    }
Sets the value of the action property.

allowed object is
{@link String }

@param value the value of the action property
geode-core/src/main/java/org/apache/geode/cache/configuration/RegionAttributesType.java