public PutRuleRequest withScheduleExpression(String scheduleExpression) {
        setScheduleExpression(scheduleExpression);
        return this;
    }
<p>
The scheduling expression. For example, "cron(0 20 * * ? *)" or "rate(5 minutes)".
</p>

@param scheduleExpression
       The scheduling expression. For example, "cron(0 20 * * ? *)" or "rate(5 minutes)".
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-events/src/main/java/com/amazonaws/services/cloudwatchevents/model/PutRuleRequest.java