[the first and second arguments to `validate/4`](https://github.com/basho/riak_core/blob/develop/src/riak_core_bucket_props.erl#L38-L39) will give you what you need