[#BloombergLP-ball-Rule-setPattern] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/Rule.adoc[Rule]::setPattern :relfileprefix: ../../../ :mrdocs: Set the pattern of this object to the specified `value`. == Synopsis Declared in `<ball_rule.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setPattern(std::string_view const& value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#