public void setResourceArn(String resourceArn) {
        this.resourceArn = resourceArn;
    }
<p>
The Amazon Resource Name (ARN) of the resource whose web ACL you want to retrieve.
</p>
<p>
The ARN must be in one of the following formats:
</p>
<ul>
<li>
<p>
For an Application Load Balancer:
<code>arn:<i>partition</i>:elasticloadbalancing:<i>region</i>:<i>account-id</i>:loadbalancer/app/<i>load-balancer-name</i>/<i>load-balancer-id</i> </code>
</p>
</li>
<li>
<p>
For an Amazon API Gateway REST API:
<code>arn:<i>partition</i>:apigateway:<i>region</i>::/restapis/<i>api-id</i>/stages/<i>stage-name</i> </code>
</p>
</li>
<li>
<p>
For an AppSync GraphQL API:
<code>arn:<i>partition</i>:appsync:<i>region</i>:<i>account-id</i>:apis/<i>GraphQLApiId</i> </code>
</p>
</li>
<li>
<p>
For an Amazon Cognito user pool:
<code>arn:<i>partition</i>:cognito-idp:<i>region</i>:<i>account-id</i>:userpool/<i>user-pool-id</i> </code>
</p>
</li>
<li>
<p>
For an App Runner service:
<code>arn:<i>partition</i>:apprunner:<i>region</i>:<i>account-id</i>:service/<i>apprunner-service-name</i>/<i>apprunner-service-id</i> </code>
</p>
</li>
<li>
<p>
For an Amazon Web Services Verified Access instance:
<code>arn:<i>partition</i>:ec2:<i>region</i>:<i>account-id</i>:verified-access-instance/<i>instance-id</i> </code>
</p>
</li>
</ul>

@param resourceArn
       The Amazon Resource Name (ARN) of the resource whose web ACL you want to retrieve. </p>
       <p>
       The ARN must be in one of the following formats:
       </p>
       <ul>
       <li>
       <p>
       For an Application Load Balancer:
       <code>arn:<i>partition</i>:elasticloadbalancing:<i>region</i>:<i>account-id</i>:loadbalancer/app/<i>load-balancer-name</i>/<i>load-balancer-id</i> </code>
       </p>
       </li>
       <li>
       <p>
       For an Amazon API Gateway REST API:
       <code>arn:<i>partition</i>:apigateway:<i>region</i>::/restapis/<i>api-id</i>/stages/<i>stage-name</i> </code>
       </p>
       </li>
       <li>
       <p>
       For an AppSync GraphQL API:
       <code>arn:<i>partition</i>:appsync:<i>region</i>:<i>account-id</i>:apis/<i>GraphQLApiId</i> </code>
       </p>
       </li>
       <li>
       <p>
       For an Amazon Cognito user pool:
       <code>arn:<i>partition</i>:cognito-idp:<i>region</i>:<i>account-id</i>:userpool/<i>user-pool-id</i> </code>
       </p>
       </li>
       <li>
       <p>
       For an App Runner service:
       <code>arn:<i>partition</i>:apprunner:<i>region</i>:<i>account-id</i>:service/<i>apprunner-service-name</i>/<i>apprunner-service-id</i> </code>
       </p>
       </li>
       <li>
       <p>
       For an Amazon Web Services Verified Access instance:
       <code>arn:<i>partition</i>:ec2:<i>region</i>:<i>account-id</i>:verified-access-instance/<i>instance-id</i> </code>
       </p>
       </li>
aws-java-sdk-wafv2/src/main/java/com/amazonaws/services/wafv2/model/GetWebACLForResourceRequest.java