public PutResolverRulePolicyRequest withResolverRulePolicy(String resolverRulePolicy) {
        setResolverRulePolicy(resolverRulePolicy);
        return this;
    }
<p>
An Identity and Access Management policy statement that lists the rules that you want to share with another
Amazon Web Services account and the operations that you want the account to be able to perform. You can specify
the following operations in the <code>Action</code> section of the statement:
</p>
<ul>
<li>
<p>
<code>route53resolver:GetResolverRule</code>
</p>
</li>
<li>
<p>
<code>route53resolver:AssociateResolverRule</code>
</p>
</li>
<li>
<p>
<code>route53resolver:DisassociateResolverRule</code>
</p>
</li>
<li>
<p>
<code>route53resolver:ListResolverRules</code>
</p>
</li>
<li>
<p>
<code>route53resolver:ListResolverRuleAssociations</code>
</p>
</li>
</ul>
<p>
In the <code>Resource</code> section of the statement, specify the ARN for the rule that you want to share with
another account. Specify the same ARN that you specified in <code>Arn</code>.
</p>

@param resolverRulePolicy
       An Identity and Access Management policy statement that lists the rules that you want to share with
       another Amazon Web Services account and the operations that you want the account to be able to perform.
       You can specify the following operations in the <code>Action</code> section of the statement:</p>
       <ul>
       <li>
       <p>
       <code>route53resolver:GetResolverRule</code>
       </p>
       </li>
       <li>
       <p>
       <code>route53resolver:AssociateResolverRule</code>
       </p>
       </li>
       <li>
       <p>
       <code>route53resolver:DisassociateResolverRule</code>
       </p>
       </li>
       <li>
       <p>
       <code>route53resolver:ListResolverRules</code>
       </p>
       </li>
       <li>
       <p>
       <code>route53resolver:ListResolverRuleAssociations</code>
       </p>
       </li>
       </ul>
       <p>
       In the <code>Resource</code> section of the statement, specify the ARN for the rule that you want to share
       with another account. Specify the same ARN that you specified in <code>Arn</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-route53resolver/src/main/java/com/amazonaws/services/route53resolver/model/PutResolverRulePolicyRequest.java