public void setEventPattern(String eventPattern) {
        this.eventPattern = eventPattern;
    }
<p>
The event pattern. For more information, see <a
href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html">Events and
Event Patterns</a> in the <i>Amazon EventBridge User Guide</i>.
</p>

@param eventPattern
       The event pattern. For more information, see <a
       href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html">Events
       and Event Patterns</a> in the <i>Amazon EventBridge User Guide</i>.
aws-java-sdk-events/src/main/java/com/amazonaws/services/cloudwatchevents/model/PutRuleRequest.java