public ConfigRule withCreatedBy(String createdBy) {
        setCreatedBy(createdBy);
        return this;
    }
<p>
Service principal name of the service that created the rule.
</p>
<note>
<p>
The field is populated only if the service-linked rule is created by a service. The field is empty if you create
your own rule.
</p>
</note>

@param createdBy
       Service principal name of the service that created the rule.</p> <note>
       <p>
       The field is populated only if the service-linked rule is created by a service. The field is empty if you
       create your own rule.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-config/src/main/java/com/amazonaws/services/config/model/ConfigRule.java