public void setResources(java.util.Collection<Resource> resources) {
        if (resources == null) {
            this.resources = null;
            return;
        }

        this.resources = new java.util.ArrayList<Resource>(resources);
    }
A list of resources.

@param resources
       A list of resources.
aws-java-sdk-greengrass/src/main/java/com/amazonaws/services/greengrass/model/CreateResourceDefinitionVersionRequest.java