public java.util.List<String> getResource() {
        return resource;
    }
<p>
Resource filters (can be collection or indexes) that policies can apply to.
</p>

@return Resource filters (can be collection or indexes) that policies can apply to.
aws-java-sdk-opensearchserverless/src/main/java/com/amazonaws/services/opensearchserverless/model/ListSecurityPoliciesRequest.java