public void setManagedBy(String managedBy) {
        this.managedBy = managedBy;
    }
<p>
If the rule was created on behalf of your account by an Amazon Web Services service, this field displays the
principal name of the service that created the rule.
</p>

@param managedBy
       If the rule was created on behalf of your account by an Amazon Web Services service, this field displays
       the principal name of the service that created the rule.
aws-java-sdk-events/src/main/java/com/amazonaws/services/cloudwatchevents/model/Rule.java