public void setResourceAccessPolicies(java.util.Collection<ResourceAccessPolicy> resourceAccessPolicies) {
        if (resourceAccessPolicies == null) {
            this.resourceAccessPolicies = null;
            return;
        }

        this.resourceAccessPolicies = new java.util.ArrayList<ResourceAccessPolicy>(resourceAccessPolicies);
    }
A list of the resources, with their permissions, to which the Lambda function will be granted access. A Lambda
function can have at most 10 resources. ResourceAccessPolicies apply only when you run the Lambda function in a
Greengrass container.

@param resourceAccessPolicies
       A list of the resources, with their permissions, to which the Lambda function will be granted access. A
       Lambda function can have at most 10 resources. ResourceAccessPolicies apply only when you run the Lambda
       function in a Greengrass container.
aws-java-sdk-greengrass/src/main/java/com/amazonaws/services/greengrass/model/FunctionConfigurationEnvironment.java