public ApprovalRule withOriginApprovalRuleTemplate(OriginApprovalRuleTemplate originApprovalRuleTemplate) {
        setOriginApprovalRuleTemplate(originApprovalRuleTemplate);
        return this;
    }
<p>
The approval rule template used to create the rule.
</p>

@param originApprovalRuleTemplate
       The approval rule template used to create the rule.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codecommit/src/main/java/com/amazonaws/services/codecommit/model/ApprovalRule.java